This project is archived and is in readonly mode.
eager loading fails with ArgumentError
-
Claudio Poli
- Title changed from eager loading fails to eager loading fails with ArgumentError
whops, forgot the important exception
ArgumentError in Administration/accountsController#show wrong number of arguments (2 for 1)backtrace is in ticket post.
-
Claudio Poli
I'm using ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-darwin9.3.0]. I've read some other ticket about similar issues on specific ruby versions, so here goes.
-
Jeremy Kemper
- State changed from new to invalid
This works for me. Please include a failing test case.
-
Claudio Poli
after a bit of research I just found out that a collegue did a respond_to? override in a model, without specifying the arguments parameter and without tests.
sorry for the noise.
-
Jeremy Kemper
Whew! :)