FYI

April 26, 2007 – 1:53 pm

If you’re ever adding an action to a Rails app and start getting an error that looks like this:

ArgumentError (wrong number of arguments (2 for 0)):
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `process'
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch'
...

You need to rename your fancy new ‘process’ action to something else.

razzin’ frazzin’ reserved words………

Post a Comment