2014-12-26 polymorphic-associations rails Active Record Associations — Ruby on Rails Guides polymorphic-associationsのドキュメントを読んだ。