Displaying 1 result from an estimated 1 matches for "koulutusweb".
2007 Sep 13
2
Failing to raise an exception in a stub
...tiveRecord::RecordInvalid)
The save! call in the controller doesn''t seem to work. I get the
following error:
ArgumentError in ''ClientsController POST /clients with invalid
parameters should show new form again''
wrong number of arguments (0 for 1)
/Users/jarkko/Sites/koulutusweb/app/controllers/clients_controller.rb:
41:in `create''
The line #41 consists only of
@client.save!
I''m at a loss seeing where the wrong number of arguments is really
happening because save! certainly shouldn''t assume any args.
Moreover, both cases work fin...