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. |
||
---|---|---|
.. | ||
delegation_test.rb | ||
merging_test.rb | ||
mutation_test.rb | ||
or_test.rb | ||
predicate_builder_test.rb | ||
where_chain_test.rb | ||
where_clause_test.rb | ||
where_test.rb |