Forum: Typo 'this_blog' NameError in production log (Articles and Theme

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.
Gary S. (Guest)
on 2006-05-03 21:07
(Received via mailing list)
I don't really know what this means ... but it can't be good and it
gets thrown out quite a few times my the production log.

NameError (undefined local variable or method `this_blog' for
#<ArticlesController:0x4086b5dc>):
     /app/controllers/articles_controller.rb:162:in `verify_config'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:399:in
`send'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:399:in
`call_filters'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:394:in
`each'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:394:in
`call_filters'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:383:in
`before_action'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:365:in
`perform_action_without_benchmark'
     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
69:in `perform_action_without_rescue'
     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
69:in `measure'
     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
69:in `perform_action_without_rescue'
     /vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
`perform_action'
     /vendor/rails/actionpack/lib/action_controller/base.rb:381:in
`send'
     /vendor/rails/actionpack/lib/action_controller/base.rb:381:in
`process_without_filters'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:377:in
`process_without_session_management_support'
     /vendor/rails/actionpack/lib/action_controller/
session_management.rb:117:in `process'
     /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
     /vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request'
     /vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!'
     /vendor/rails/railties/lib/fcgi_handler.rb:53:in `each_cgi'
     /usr/lib/ruby/1.8/fcgi.rb:597:in `each'
     /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'
     /vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!'
     /vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!'
     dispatch.fcgi:24

Actually there's also errors thrown out for 'this_blog' with the
ThemeController as well

NameError (undefined local variable or method `this_blog' for
#<ThemeController:0x40872f80>):
     /app/controllers/theme_controller.rb:28:in `render_theme_item'
     /app/controllers/theme_controller.rb:6:in `stylesheets'
     /vendor/rails/actionpack/lib/action_controller/base.rb:910:in
`send'
     /vendor/rails/actionpack/lib/action_controller/base.rb:910:in
`perform_action_without_filters'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark'
     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
69:in `perform_action_without_rescue'
     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
69:in `measure'
     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
69:in `perform_action_without_rescue'
     /vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
`perform_action'
     /vendor/rails/actionpack/lib/action_controller/base.rb:381:in
`send'
     /vendor/rails/actionpack/lib/action_controller/base.rb:381:in
`process_without_filters'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:377:in
`process_without_session_management_support'
     /vendor/rails/actionpack/lib/action_controller/
session_management.rb:117:in `process'
     /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
     /vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request'
     /vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!'
     /vendor/rails/railties/lib/fcgi_handler.rb:53:in `each_cgi'
     /usr/lib/ruby/1.8/fcgi.rb:597:in `each'
     /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'
     /vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!'
     /vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!'
     dispatch.fcgi:24

Haven't raised a ticket because don't know if it needs one.

Cheers

Gary
This topic is locked and can not be replied to.