An example rails app that shows how to use polymorphic associations in rails