(rdb:4) p current_user.authorizations INTERNAL ERROR!!! can't dup NilClass /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/base.rb:2223:in `dup' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/base.rb:2223:in `scoped_methods' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/base.rb:2227:in `current_scoped_methods' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/base.rb:2217:in `scope' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/base.rb:1577:in `find_every' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/base.rb:619:in `find_without_locale_filter' /home/jandres/projects/ubiquo/test_auth/vendor/plugins/ubiquo_i18n/lib/ubiquo_i18n/extensions/active_record.rb:424:in `find_without_current_version' /home/jandres/projects/ubiquo/test_auth/vendor/plugins/ubiquo_versions/lib/ubiquo_versions/extensions/active_record.rb:75:in `find' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/associations/association_collection.rb:60:in `find' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/associations/association_collection.rb:423:in `find_target' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/associations/association_collection.rb:365:in `load_target' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/associations/association_proxy.rb:140:in `inspect' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/eval.rb:50:in `execute' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/eval.rb:22:in `run_with_binding' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/eval.rb:49:in `execute' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug/processor.rb:226:in `one_cmd' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug/processor.rb:319:in `process_commands' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug/processor.rb:318:in `each' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug/processor.rb:318:in `process_commands' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug/processor.rb:311:in `catch' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug/processor.rb:311:in `process_commands' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug/processor.rb:199:in `__at_line' (eval):5:in `at_line' (eval):3:in `synchronize' (eval):3:in `at_line' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-base-0.10.4/lib/ruby-debug-base.rb:54:in `at_line' /home/jandres/projects/ubiquo/test_auth/vendor/plugins/ubiquo_public_authentication/app/views/users/edit.html.erb:4:in `_run_erb_vendor47plugins47ubiquo_public_authentication47app47views47users47edit46html46erb' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_view/renderable.rb:34:in `send' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_view/renderable.rb:34:in `render' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_view/base.rb:306:in `with_template' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_view/renderable.rb:30:in `render' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_view/template.rb:205:in `render_template' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_view/base.rb:265:in `render' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_view/base.rb:348:in `_render_with_layout' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_view/base.rb:262:in `render' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/base.rb:1252:in `render_for_file' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/base.rb:942:in `render_without_benchmark' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:51:in `render' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/jandres/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:51:in `render' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/mime_responds.rb:135:in `send' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/mime_responds.rb:135:in `custom' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/mime_responds.rb:179:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/mime_responds.rb:179:in `respond' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/mime_responds.rb:173:in `each' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/mime_responds.rb:173:in `respond' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/mime_responds.rb:107:in `respond_to' /home/jandres/projects/ubiquo/test_auth/vendor/plugins/ubiquo_public_authentication/app/controllers/users_controller.rb:46:in `edit' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/base.rb:1333:in `send' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/base.rb:1333:in `perform_action_without_filters' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/filters.rb:617:in `call_filters' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/jandres/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/flash.rb:151:in `perform_action' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/base.rb:532:in `send' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/base.rb:532:in `process_without_filters' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/filters.rb:606:in `process' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/base.rb:391:in `process' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/base.rb:386:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/routing/route_set.rb:438:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:87:in `dispatch' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:121:in `_call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:29:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:29:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:9:in `cache' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:28:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:45:in `call!' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:31:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:45:in `call!' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:31:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/oa-core-0.2.6/lib/omniauth/builder.rb:30:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/string_coercion.rb:25:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/head.rb:9:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/methodoverride.rb:24:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/params_parser.rb:15:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:99:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/failsafe.rb:26:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/lock.rb:11:in `synchronize' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:114:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/reloader.rb:34:in `run' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:108:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rails-2.3.11/lib/rails/rack/static.rb:31:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/urlmap.rb:47:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `each' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rails-2.3.11/lib/rails/rack/log_tailer.rb:17:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/content_length.rb:13:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/chunked.rb:15:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/handler/mongrel.rb:67:in `process' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.1.2/lib/rack/handler/mongrel.rb:38:in `run' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/rails-2.3.11/lib/commands/server.rb:111 /home/jandres/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' /home/jandres/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' script/server:3 Processing UsersController#edit (for 127.0.0.1 at 2011-05-25 11:13:41) [GET] User Load (1.4ms) SELECT * FROM "users" WHERE ("users"."id" = 12) LIMIT 1 Rendering template within layouts/main Rendering users/edit Rendered shared/_profile_form (16.0ms) ActionView::TemplateError (can't dup NilClass) on line #5 of vendor/plugins/ubiquo_public_authentication/app/views/users/edit.html.erb: 2: <%= logout_link %> 3: <%= profile_form(current_user, update_profile_path)%> 4: <% debugger %> 5: <% current_user.authorizations.each do |auth| %> 6: <%= label auth.provider, auth.provider.capitalize %> 7: <%= link_to "Disable", auth, :method => 'delete' %> 8: <% end %> vendor/plugins/ubiquo_public_authentication/app/views/users/edit.html.erb:5 vendor/plugins/ubiquo_public_authentication/app/controllers/users_controller.rb:46:in `edit' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:45:in `call!' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:31:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:45:in `call!' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:31:in `call' /home/jandres/.rvm/gems/ruby-1.8.7-p334/gems/oa-core-0.2.6/lib/omniauth/builder.rb:30:in `call'