Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #31966 from kg8m/fix_limited_ids_for
Use column alias of primary_key in limited_ids_for
- Loading branch information
Showing
with
30 additions
and 17 deletions.
- +8 −0 activerecord/CHANGELOG.md
- +1 −1 activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
- +1 −1 activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
- +5 −5 activerecord/test/cases/adapters/mysql2/mysql2_adapter_test.rb
- +10 −10 activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb
- +5 −0 activerecord/test/cases/finder_test.rb