Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented workaround for the ActiveRecord issue that prevents runni…
…ng a query where a polymorphic reflection is specified in "includes" and ""references" are used in the query. It will check all of the included associations to see if any are polymorphic and if so avoid calling "references" on the scope. This change will still eager load any polymorphic associations that are included in the query. https://bugzilla.redhat.com/show_bug.cgi?id=1238179
- Loading branch information