El martes, 26 de agosto de 2014 14:32:46 UTC+2, [email protected] escribió:

> If you use nested_attributes for creating a Foo entity with 2 bars all  is 
> good. Later, when you try to update it deleting one bar, validation gives 
> you an error, because before saving model (in validation step) Foo object 
> has not deleted yet removed data, so bars.size continues being 2.
>

Sorry. I wanted to say "validation gives you NO error"

-- 
David

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to