Depili
1/13/2006 10:47:00 PM
well, save will just return bunch of errors, because it tries to create
a new record with same id etc, also the scaffold code uses only
..update_parameters and the API says "update the parameter in object
provided by the hash and save it."
So I'm quite lost on this one..
It appears that the update method created by script/generate scaffold
Foo also fails, so there might be something wrong with my db (mysql)
but then again creating a new team with team.new, saving it and then
altering some data and calling team.update works, so why not team.find
-> alter data -> team.update...:/