diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-02-05 13:13:49 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-02-07 23:35:05 +0000 |
commit | 52f09eac5b3d297021ef726e04ec19f6011cb302 (patch) | |
tree | c2b15313ce7bc00ade263d2e9030721c32381f3b /activerecord/test/fixtures/posts.yml | |
parent | 05bcb8cecc8573f28ad080839233b4bb9ace07be (diff) | |
download | rails-52f09eac5b3d297021ef726e04ec19f6011cb302.tar.gz rails-52f09eac5b3d297021ef726e04ec19f6011cb302.tar.bz2 rails-52f09eac5b3d297021ef726e04ec19f6011cb302.zip |
Correctly update counter caches on deletion for has_many :through [#2824 state:resolved]. Also fixed a bunch of other counter cache bugs in the process, as once I fixed this one others started appearing like nobody's business.
Diffstat (limited to 'activerecord/test/fixtures/posts.yml')
-rw-r--r-- | activerecord/test/fixtures/posts.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/posts.yml b/activerecord/test/fixtures/posts.yml index f817493190..07069a064f 100644 --- a/activerecord/test/fixtures/posts.yml +++ b/activerecord/test/fixtures/posts.yml @@ -5,6 +5,7 @@ welcome: body: Such a lovely day comments_count: 2 taggings_count: 1 + tags_count: 1 type: Post thinking: @@ -14,6 +15,7 @@ thinking: body: Like I hopefully always am comments_count: 1 taggings_count: 1 + tags_count: 1 type: SpecialPost authorless: |