Hi All
Trying to port an activerecord based app to DM and can't seem to find
an equivalent of
has_many :children, :dependent => :destroy
in DM. I tried
has n :children, :dependent => :destroy

but it gives and error : ArgumentError: Unknown property 'dependent'
when I try to access the collection like parent.children()

What's the recommended way to do :dependent in DM?

thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to