OpenBuildings/jam — pull request #55 by hkdobrev (2014-07-16 13:34:47+00:00)
Title: Allow to change model name for polymorphic queries

The `hasmany` association always use the name of the model as the value against
the `polymorphic_key`.

When using STI (single-table inheritance) you might want to always use the parent model.

This change allows just that.