Support polymorphic relations by using has_many :through
#571
+5
−2
has_many :through
#571