Test #11675 for polymorphic has_many no longer passes the relation.where(args) to first_or_initialize

Here are the tests for isolating and verifying Issue #11675