This project is archived and is in readonly mode.

#5521 ✓invalid
Stefano Verna

Error during failsafe response: wrong number of arguments (3 for 1)

Reported by Stefano Verna | September 1st, 2010 @ 04:21 PM

After the upgrade from Rails 3.0.0.rc2 to Rails 3.0.0, this is what I'm getting on each server request.

Started GET "/" for 127.0.0.1 at Wed Sep 01 17:07:22 +0200 2010
  Processing by PagesController#root as HTML
Redirected to http://0.0.0.0:3000/it/home
Completed 302 Found in 1ms
Error during failsafe response: wrong number of arguments (3 for 1)
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/template.rb:121:in `try'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/template.rb:121:in `initialize'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/template/resolver.rb:80:in `new'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/template/resolver.rb:80:in `query'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/template/resolver.rb:75:in `map'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/template/resolver.rb:75:in `query'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/template/resolver.rb:55:in `find_templates'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/template/resolver.rb:20:in `find_all'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/template/resolver.rb:38:in `cached'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/template/resolver.rb:19:in `find_all'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/paths.rb:21:in `find_all'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/paths.rb:20:in `each'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/paths.rb:20:in `find_all'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/paths.rb:14:in `find'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/lookup_context.rb:81:in `find_template'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/base.rb:186:in `__send__'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/base.rb:186:in `find_template'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/render/rendering.rb:43:in `_determine_template'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/lookup_context.rb:102:in `with_fallbacks'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/base.rb:186:in `__send__'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/base.rb:186:in `with_fallbacks'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/render/rendering.rb:43:in `_determine_template'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_view/render/rendering.rb:24:in `render_without_haml'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/haml-3.0.18/lib/haml/helpers/action_view_mods.rb:13:in `render'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_dispatch/middleware/show_exceptions.rb:88:in `rescue_action_locally'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_dispatch/middleware/show_exceptions.rb:68:in `render_exception'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_dispatch/middleware/show_exceptions.rb:59:in `call'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/railties-3.0.0/lib/rails/rack/logger.rb:13:in `call'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/rack-1.2.1/lib/rack/runtime.rb:17:in `call'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/activesupport-3.0.0/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/rack-1.2.1/lib/rack/lock.rb:11:in `call'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/rack-1.2.1/lib/rack/lock.rb:11:in `synchronize'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/rack-1.2.1/lib/rack/lock.rb:11:in `call'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/actionpack-3.0.0/lib/action_dispatch/middleware/static.rb:30:in `call'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/railties-3.0.0/lib/rails/application.rb:168:in `call'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/railties-3.0.0/lib/rails/application.rb:77:in `send'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/railties-3.0.0/lib/rails/application.rb:77:in `method_missing'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/railties-3.0.0/lib/rails/rack/log_tailer.rb:14:in `call'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/rack-1.2.1/lib/rack/content_length.rb:13:in `call'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:in `service'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/rack-1.2.1/lib/rack/handler/webrick.rb:13:in `run'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/rack-1.2.1/lib/rack/server.rb:213:in `start'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/railties-3.0.0/lib/rails/commands/server.rb:65:in `start'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/railties-3.0.0/lib/rails/commands.rb:30
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/railties-3.0.0/lib/rails/commands.rb:27:in `tap'
  /Users/steffoz/dev/sites/welaika/.bundle/ruby/1.8/gems/railties-3.0.0/lib/rails/commands.rb:27
  script/rails:9:in `require'
  script/rails:9

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Tags

Pages