[Rails] Re: validation and update

Peter Michaux
Mon, 13 Mar 2006 16:46:51 -0000

On 3/13/06, Michael Gorsuch <michael.gorsuch@gmail.com>
wrote:
> What about validates_associated?

Thanks Michael.

I guess I will have to build some controller logic to make sure that
if the department and associated people all validate then the save
happens as a transaction. I thought that the rails save would do this
for me but it doesn''t seem to when using it to update records.
Strange. If anyone else knows why save doesn''t I''m interested.

Thanks,
Peter