26 juin 2009

ArgumentError after upgrade to Rails 2.3.2

If you get error:

ArgumentError: wrong number of arguments (3 for 0)

in your tests after upgrading to Rails 2.3.2, maybe you have a method called find_layout that determines the layout to use?

If so, change the name to something else (I named mine my_layout) and magic, it works.

It must be a name conflict somewhere in the new Rails...

Aucun commentaire:

Enregistrer un commentaire