Thank you. Then where does the child record lose it association to
parent when the child is deleted by user?

On 6月24日, 下午5時08分, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> On Martes, 23 de Junio de 2009 18:05:20 C F Tong escribió:
>
> > where does update_record_from_params set null on id when the child
> > record is deleted from parent record?
>
> > i mean which line in update_record_from_params
>
> update_record_from_params don't set null on id when a child record is deleted.
> It sets association like parent.association = associated_value, where
> associated_value is an array (for plural associations like has_many) with the
> associated records (and without deleted child records).
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Mariana Pineda 23, 50.018 Zaragoza
> T) 902 021 404 F) 976 52 98 07 E) [email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to