diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-01-03 10:04:40 +0000 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-03 16:24:32 -0800 |
commit | 1313d386dacb580858e5951418a637f4e17cf5c1 (patch) | |
tree | 6f86a5613768a1f705fa89d4497d037914bdf60c /activerecord/test/cases/associations/eager_test.rb | |
parent | 31d101879f1acae604d24d831a4b82a4482acf31 (diff) | |
download | rails-1313d386dacb580858e5951418a637f4e17cf5c1.tar.gz rails-1313d386dacb580858e5951418a637f4e17cf5c1.tar.bz2 rails-1313d386dacb580858e5951418a637f4e17cf5c1.zip |
Make Relation#create_with always merge rather than overwrite, not just when merging two relations. If you wish to overwrite, you can do relation.create_with(nil), or for a specific attribute, relation.create_with(:attr => nil).
Diffstat (limited to 'activerecord/test/cases/associations/eager_test.rb')
0 files changed, 0 insertions, 0 deletions