[typo] Undefined method assert

Scott Laird scott at sigkill.org
Mon Nov 7 21:17:50 EST 2005


I think I fixed that in the trunk on Saturday night.  Which version  
are you running?


Scott

On Nov 7, 2005, at 6:05 PM, Victor Jalencas wrote:

> Hi,
>
>   when running from latest trunk on TXD, I get the folliwing error
> accessing the main page:
>
> undefined method `assert' for #
>
> the logfile says this:
>
>
> Processing ArticlesController#index (for 80.39.122.133 at 2005-11-08
> 01:52:44) [GET]
>    Parameters: {"action"=>"index", "controller"=>"articles"}
>
>
> NoMethodError (undefined method `assert' for
> #<ArticlesController:0x90c11cc>):
>      /app/controllers/articles_controller.rb:222:in
> `check_page_query_param_for_missing_routes'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/filters.rb:317:in
> `send'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/filters.rb:317:in
> `call_filters'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/filters.rb:313:in
> `each'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/filters.rb:313:in
> `call_filters'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/filters.rb:302:in
> `before_action'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/filters.rb:294:in
> `perform_action_without_benchmark'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/benchmarking.rb:69:in
> `perform_action_without_rescue'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/benchmarking.rb:69:in
> `measure'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/benchmarking.rb:69:in
> `perform_action_without_rescue'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/rescue.rb:82:in
> `perform_action'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/base.rb:365:in
> `send'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/base.rb:365:in
> `process_without_session_management_support'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ 
> action_controller/session_management.rb:116:in
> `process'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/dispatcher.rb:36:in
> `dispatch'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: 
> 136:in
> `process_request'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: 
> 53:in
> `process!'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: 
> 52:in
> `each_cgi'
>      /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb: 
> 597:in `each'
>      /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in
> `each_cgi'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: 
> 52:in
> `process!'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: 
> 22:in
> `process!'
>      /public/dispatch.fcgi:24
>
>
> If I run the same code with the same database locally with webrick,
> everything works perfectly. If I ask for /articles/page/1, it also  
> works
> correctly. What gives?
>
> You can check it out at http://principia.info
>
> Thanks for any hint,
> Victor
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list



More information about the Typo-list mailing list