aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/interleaved
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-03-22 15:02:49 +0100
committerYves Senn <yves.senn@gmail.com>2013-03-22 15:08:09 +0100
commitc8edd4fda45bbc7c99beaaf2d53f4de59c3fac54 (patch)
tree6a6fd983c2590c53661d8e0f9e5612968ba28659 /activerecord/test/migrations/interleaved
parent69599b63de927091faf1d804b6457f65014080d6 (diff)
downloadrails-c8edd4fda45bbc7c99beaaf2d53f4de59c3fac54.tar.gz
rails-c8edd4fda45bbc7c99beaaf2d53f4de59c3fac54.tar.bz2
rails-c8edd4fda45bbc7c99beaaf2d53f4de59c3fac54.zip
do not reset associations when preloading twice.
Closes #9806. As the `through_options` always contained `{:order=>nil}` the second time, the preloader ran, the association was always reset. This patch only adds the `:order` to the `through_options` if it is set.
Diffstat (limited to 'activerecord/test/migrations/interleaved')
0 files changed, 0 insertions, 0 deletions