[typo] blacklist causes application error (Rails) on trunk typo w/

Chris Dagdigian dag at sonsorol.org
Fri Nov 4 15:50:45 EST 2005


Hello,

I was running on an older version of trunk with ruby-1.8.2 and the  
0.13 version of rails and decided to upgrade just about everything.  
It all went very smoothly except for the blacklist function in the  
admin interface.

Current config:

  - Linux Fedora Core 4 w/ mysql / lighttpd and fastCGI integration
  - ruby 1.8.3
  - rails 0.14.2
  - rake 0.6.2
  - typo svntrunk current as of a few minutes ago

Everything works great except for pressing "blacklist" in the admin  
interface generates this error:

> Processing BlacklistController#index (for 66.92.70.111 at  
> 2005-11-04 15:44:06) [GET]
>   Parameters: {"action"=>"index", "controller"=>"admin/blacklist"}
>
>
> NameError (uninitialized constant BlacklistPattern):
>     /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.2/lib/ 
> active_support/dependencies.rb:198:in `const_missing'
>     app/controllers/admin/blacklist_controller.rb:10:in `list'
>     app/controllers/admin/blacklist_controller.rb:5:in `index'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/base.rb:834:in `perform_action_without_filters'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/filters.rb:295:in `perform_action_without_benchmark'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/benchmarking.rb:69:in  
> `perform_action_without_rescue'
>     /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/benchmarking.rb:69:in  
> `perform_action_without_rescue'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/rescue.rb:82:in `perform_action'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/base.rb:365:in  
> `process_without_session_management_support'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/session_management.rb:116:in `process'
>     /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/dispatcher.rb: 
> 36:in `dispatch'
>     /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: 
> 136:in `process_request'
>     /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: 
> 53:in `process!'
>     /usr/lib/site_ruby/1.8/fcgi.rb:600:in `each_cgi'
>     /usr/lib/site_ruby/1.8/fcgi.rb:117:in `session'
>     /usr/lib/site_ruby/1.8/fcgi.rb:104:in `each_request'
>     /usr/lib/site_ruby/1.8/fcgi.rb:36:in `each'
>     /usr/lib/site_ruby/1.8/fcgi.rb:597:in `each_cgi'
>     /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: 
> 52:in `process!'
>     /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: 
> 22:in `process!'
>     /home/gridengine.info/svn-typo/typo/public/dispatch.fcgi:24


Suggestions appreciated. Thanks!

Regards,
Chris







More information about the Typo-list mailing list