Just spent 15-20 minutes struggling with why actions that previously worked were all bombing with this error:
/!\ FAILSAFE /!\ 08/07/2008 02:48 PM Status: 500 Internal Server Error wrong number of arguments (2 for 0) /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:389:in `process' <rest of stack trace clipped>
As it turned out, I had added an action named 'process' that was overriding the one in ActionController. I suppose there is no way for Ruby/Rails to know when you really want to override a method or when it is a mistake. But it sure would be nice to have some warning when you accidentally stomp on something. This also is a problem with ActiveRecord. Name a table or a column wrong and things start to fail mysteriously.
Any suggestions on how to prevent making this type error in the future?