Hi Rick,
Rick Schumeyer wrote:
> If I am using a database that supports FKs and
> ON DELETE CASCADE, then is there any point
> in using :dependent => :destroy ?
I think the point is in being able to keep that logic in the application
itself, rather than having to go to two seperate code bases to find out what
the result of an Object.destroy will be.
Just my $.02
Best regards,
Bill
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---