annotate_models
annotate_models copied to clipboard
Keep polymorphic `_type` columns with their `_id`
In classified sort, polymorphic columns are currently split because its only looking for _id. This checks that if its _type and there is a matching _id column, we keep them together in associations.
Nice @bryanrite!