Skip to content

Instantly share code, notes, and snippets.

@graemenelson
Created August 24, 2010 15:23
Show Gist options
  • Select an option

  • Save graemenelson/547725 to your computer and use it in GitHub Desktop.

Select an option

Save graemenelson/547725 to your computer and use it in GitHub Desktop.
test: edit without authenticate account should redirect to . (Devise::RegistrationsControllerTest):
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/bundler/gems/devise-219c05c/app/controllers/devise/registrations_controller.rb:72:in `authenticate_scope!'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/activesupport-3.0.0.rc/lib/active_support/callbacks.rb:430:in `_run__1014019186873122880__process_action__886626869220559486__callbacks'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/activesupport-3.0.0.rc/lib/active_support/callbacks.rb:404:in `_run_process_action_callbacks'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/activesupport-3.0.0.rc/lib/active_support/callbacks.rb:93:in `run_callbacks'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/actionpack-3.0.0.rc/lib/abstract_controller/callbacks.rb:17:in `process_action'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/actionpack-3.0.0.rc/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/activesupport-3.0.0.rc/lib/active_support/notifications.rb:52:in `block in instrument'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/activesupport-3.0.0.rc/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/activesupport-3.0.0.rc/lib/active_support/notifications.rb:52:in `instrument'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/actionpack-3.0.0.rc/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/actionpack-3.0.0.rc/lib/action_controller/metal/rescue.rb:17:in `process_action'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/actionpack-3.0.0.rc/lib/abstract_controller/base.rb:105:in `process'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/actionpack-3.0.0.rc/lib/abstract_controller/rendering.rb:40:in `process'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/actionpack-3.0.0.rc/lib/action_controller/metal/testing.rb:12:in `process_with_new_base_test'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/actionpack-3.0.0.rc/lib/action_controller/test_case.rb:404:in `process'
/Users/graemenelson/.rvm/gems/ruby-1.9.2-p0@rails3_shoulda/gems/actionpack-3.0.0.rc/lib/action_controller/test_case.rb:342:in `get'
test/functional/devise/registrations_controller_test.rb:9:in `block (2 levels) in <class:RegistrationsControllerTest>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment