Hi Jeremy, I seem to recall reading you're not a fan of the rails-style polymorphic tables (ie. "commentable").
Let's say you have two records, both Book and Chapter, that you want to be able to create Comments on. There's no difference in the comments, except that one is related to a book, and one is related to a chapter. How would you personally set that up? Would you use a `book_id` and `chapter_id` foreign key and one of them is always null? Or something else? Just curious what you think is the best way to go here. Thanks so much! Andrew -- 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 https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
