prschulz / polymorphic_comments

Your favorite movies and actors can be modeled with a Many-to-Many relationship

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##A polymorphic relationship destined for endless commentary... A play in relationships - This repo highlights the use of both a many-to-many and a polymorphic relationship in a Postgres database. The many-to-many is formed between Actors & Movies while the polymorphic relationship is between comments and the two entities: Actors & Movies.

About

Your favorite movies and actors can be modeled with a Many-to-Many relationship


Languages

Language:Ruby 70.8%Language:HTML 22.8%Language:CSS 3.3%Language:CoffeeScript 1.8%Language:JavaScript 1.4%