Hello, STI seems not suitable, I would call that abuse, unless you have almost everything common between yout different tables.
But you can use o polymorphic relation for comment, and extract the common behaviour in a plugin (something like acts_as_commentable) Look here : hhttp:// guides.rails.info/association_basics.html#polymorphic-associations --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---