Rails 3.0.0 - ArgumentError (wrong number of arguments (3 for 1))


I'm trying to upgrade an app and no matter what controller#action I call I am met with the error below and I am having trouble figuring out what's causing it.

Things to note: - There isn't any code in the SessionsController#new action. - If I remove everything from the view (and the layout isn't rendered), the error still occurs. - On other actions, code contained within the action itself runs successfully, but, the error still occurs.

I can needz halp?

Thanks in advance!


Hmm... which Ruby are you running?

From http://edgeguides.rubyonrails.org/3_0_release_notes.html

Note that Ruby 1.8.7 p248 and p249 have marshaling bugs that crash Rails 3.0. Ruby Enterprise Edition have these fixed since release 1.8.7-2010.02 though. On the 1.9 front, Ruby 1.9.1 is not usable because it outright segfaults on Rails 3.0, so if you want to use Rails 3 with 1.9.x jump on 1.9.2 for smooth sailing.

and some other goodies you may want to look at (we don't know what you've done already...)

It turns out that Github's Hubahuba plugin was causing the issues.

Thanks for your help.