mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
bc9beb27aa
It is a regression for #40815. If `where` on polymorphic association with non Active Record object, `associated_table.join_primary_key` is called without `klass` in `AssociationQueryValue`, it is wrong usage for polymorphic association. Always use `PolymorphicArrayValue` for polymorphic association to avoid the issue. Fixes #40937. |
||
---|---|---|
.. | ||
batches | ||
predicate_builder | ||
batches.rb | ||
calculations.rb | ||
delegation.rb | ||
finder_methods.rb | ||
from_clause.rb | ||
merger.rb | ||
predicate_builder.rb | ||
query_attribute.rb | ||
query_methods.rb | ||
record_fetch_warning.rb | ||
spawn_methods.rb | ||
where_clause.rb |