Public class method ActiveRecord::Base.update


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 …


hey martin

thats very interesting. did you found a solution yet?