fixed has_many_through join function for polymorphic relations
Merge pull request #67 from abenari/master

fixed has_many_through join function for polymorphic relations