[Rails] Re: validation and update

Peter Michaux
Mon, 13 Mar 2006 16:15:54 -0000

Hi,

I''ve been trying to figure this out but no luck.

I looked in the activerecord source at the save, create and update
functions. In the case of create, I don''t see how activerecord knows
to implicitly run a transaction with the parent and child tables. I
don''t see any calls down to the child models. I''m glad that
activerecord does this but I was hoping to see hwere update differs
from create.

Any ideas?

Peter