From: Victor 'Zverok' Shepelev
> Having the tables/models Course, Section, Topic, Question (with Question
> belongs to Topic, Topic belongs to Section, Section belongs to Course),
how
> should I say "when Course is deleted, its sections should be deleted (with
> topics and questions)", "when Section is deleted, its topics should be
> deleted (with questions)"?

Google for "ruby sequel cascade delete".
The third hit helps you.


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

Reply via email to