database design - Can I accomplish this with multiple concrete supertables? -
I have two tables, "content" and "profiles" that can be commented and evaluated. I have taken note of the use of topical associations and decided against it. If I want to use topical associations, this feature will be both in the table "Ratings" and "Comments".
Is it possible with a concrete supertabel implementation? And if so, how will I do this?
When you meet the column, you get it. It should be:
find (self.id ,: joins => "commentary semi on (profiles.commentable_id = cm.id) LEFT OUTER Comments C (cm.id = C.commentable_id ) ")
Comments
Post a Comment