diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-17 10:23:13 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-17 10:23:56 -0800 |
commit | 57f73a6bcf3311262172f1f348a1be614596b41a (patch) | |
tree | 3b08bf5397cb680f0b20846a8aec3668ea1813dd /activerecord/test/fixtures | |
parent | 5812c35b881d9f6bca3bae92bb4ab7652f8c40ad (diff) | |
download | rails-57f73a6bcf3311262172f1f348a1be614596b41a.tar.gz rails-57f73a6bcf3311262172f1f348a1be614596b41a.tar.bz2 rails-57f73a6bcf3311262172f1f348a1be614596b41a.zip |
Merge pull request #4487 from sarenji/fix-reset-counters
Fix bug where reset_counters resets the wrong counter cache.
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r-- | activerecord/test/fixtures/dog_lovers.yml | 4 | ||||
-rw-r--r-- | activerecord/test/fixtures/dogs.yml | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/dog_lovers.yml b/activerecord/test/fixtures/dog_lovers.yml new file mode 100644 index 0000000000..d3e5e4a1aa --- /dev/null +++ b/activerecord/test/fixtures/dog_lovers.yml @@ -0,0 +1,4 @@ +david: + id: 1 + bred_dogs_count: 0 + trained_dogs_count: 1 diff --git a/activerecord/test/fixtures/dogs.yml b/activerecord/test/fixtures/dogs.yml new file mode 100644 index 0000000000..16d19be2c5 --- /dev/null +++ b/activerecord/test/fixtures/dogs.yml @@ -0,0 +1,3 @@ +sophie: + id: 1 + trainer_id: 1 |