Hi,

I have one method, 'updateStuff', that will call 'update_attributes'
on 3 different models in the DB.....

How can I account for validation to revert back all updates if one of
the models is not valid?

I've looked into  Model.valid? which doesn't seem to work for me ..

Any idea?

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to