mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
cd0ed12d1a
While we query the proper columns, we go through normal handling for converting the value to a primitive which assumes it should use the table's primary key. If the association specifies a different value (and we know that we're working with an association), we should use the custom primary key instead. Fixes #18813. |
||
---|---|---|
.. | ||
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 | ||
spawn_methods.rb | ||
where_clause.rb | ||
where_clause_factory.rb |