[typo] NoMethodError (Blog:Class) error in production log

Gary Shewan gpsnospam at gmail.com
Mon Apr 3 10:22:03 EDT 2006


This error keeps cropping up in my production log.  I don't know if  
it's contributing to any flakyness.  Anybody any clues?

NoMethodError (undefined method `default' for Blog:Class):
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/base.rb:991:in `method_missing'
     /app/controllers/application.rb:33:in `get_the_blog_object'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/filters.rb:354:in `send'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/filters.rb:354:in `call_filters'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/filters.rb:350:in `each'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/filters.rb:350:in `call_filters'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/filters.rb:339:in `before_action'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/filters.rb:331:in `perform_action_without_benchmark'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/benchmarking.rb:69:in `measure'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/rescue.rb:82:in `perform_action'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/base.rb:369:in `send'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/base.rb:369:in  
`process_without_session_management_support'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/session_management.rb:116:in `process'
     /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in  
`dispatch'
     /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb: 
141:in `process_request'
     /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb: 
53:in `process!'
     /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb: 
52:in `each_cgi'
     /usr/lib/ruby/1.8/fcgi.rb:597:in `each'
     /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'
     /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb: 
52:in `process!'
     /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb: 
22:in `process!'
     dispatch.fcgi:34

Cheers


More information about the Typo-list mailing list