Hiall, Given I use forms containing collections and use a statement like Product.update(params[:product].keys, params[:product].values) to update more than one product. What is the best way to determine if this update operation was successfull? I read the apidoc and it says that even if the save fails under validation, an array of products is returned. Now do I have to loop through all those products and ask them if they are new_record? I think I'm missing something .. cheers Martin
on 2006-05-14 23:14
on 2007-01-10 17:02
hey martin thats very interesting. did you found a solution yet?