I just upgraded an existing rails 3 app to rails 3.1
I get this on any request:
Error during failsafe response: wrong number of arguments (6 for 5)
Do you have inherited_resources_views installed? I did, and got this hard-to-debug error. Removing the gem fixed the problem.
See https://github.com/fredwu/inherited_resources_views/commit/92f06650692e2a20b3d3e217775f78edc48a863b