Sasha O
2006-Jan-10 00:12 UTC
[Rails] Error: "wrong number of arguments" in initialize_template_class
Hello all, I am being hunted down by this error. When it starts, it happens on every URL: wrong number of arguments (3 for 0) ----------------------- Stack trace ------------------- D:/software/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:825:in `initialize'' D:/software/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:825:in `new'' D:/software/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:825:in `initialize_template_class'' D:/software/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:362:in `process_without_session_management_support'' D:/software/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'' D:/software/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'' D:/software/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'' D:/software/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'' D:/software/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' D:/software/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' D:/software/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' D:/software/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'' D:/software/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' D:/software/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'' D:/software/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'' D:/software/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'' D:/software/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' D:/software/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' D:/software/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'' D:/software/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59 D:/software/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' D:/software/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' D:/software/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'' D:/software/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28 D:/software/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' D:/software/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' D:/software/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'' script/server:3 --------------------------------------------------------- The problem appears sporadically, or so it seems and I am not able to figure out where does it come from. I have tried to clear sessions and cookies. Any help is appreciated. Sincerely, Sasha