aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
diff options
context:
space:
mode:
authorDominic Cleal <dominic@cleal.org>2016-10-07 08:56:05 +0100
committerDominic Cleal <dominic@cleal.org>2016-11-24 09:29:40 +0000
commit935502062e647def60288944808240667f7893cc (patch)
tree0d00de76bc70f2808a0d78185eca3db1790674f5 /activerecord/test/cases/associations/has_many_associations_test.rb
parent15e2da656f41af0124f7577858536f3b65462ad5 (diff)
downloadrails-935502062e647def60288944808240667f7893cc.tar.gz
rails-935502062e647def60288944808240667f7893cc.tar.bz2
rails-935502062e647def60288944808240667f7893cc.zip
Add test for collection *_ids= setter when association primary key set
Fixes casting of IDs to the data type of the association primary key, rather than then the data type of the model's primary key. (Tests use a string primary key on the association, rather than an int.) Tests issue #20995
Diffstat (limited to 'activerecord/test/cases/associations/has_many_associations_test.rb')
0 files changed, 0 insertions, 0 deletions