Forum: Ruby on Rails Error in Benchmark.rb

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2ff47d48fde7f8f2d1e25ab7ccc87d00?d=identicon&s=25 peter (Guest)
on 2005-11-22 00:16
(Received via mailing list)
I suddently started getting this on an action that previously worked:


NoMethodError in Accounts#discover

You have a nil object when you didn't expect it!
The error occured while evaluating nil.real

RAILS_ROOT: .
Application Trace | Framework Trace | Full Trace

#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_c
ontroller/benchmarking.rb:69:in `perform_action_without_rescue'
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_c
ontroller/rescue.rb:82:in `perform_action'
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_c
ontroller/base.rb:365:in `send'
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_c
ontroller/base.rb:365:in `process_without_session_management_support'
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_c
ontroller/session_management.rb:116:in `process'


Any ideas?
This topic is locked and can not be replied to.