I want to update multiple rows using ActiveRecord#update, especially
because params for the table contains just the right data structure
for the update method (an array of attribute/value hashes, one per
record). But the Rails docs say about this method “… the resulting
object is returned whether the object was saved successfully to the
database or not.”
So how does one test if the update failed?
Thanks. --David.