diff options
author | Gabe da Silveira <gabe@websaviour.com> | 2009-08-09 13:16:57 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-08-09 21:18:16 -0700 |
commit | 7e3364ac4634f7017305c4bc725710ab0e7ba4c2 (patch) | |
tree | a8a074d7d28a408e9d0ab9cdc624fd7802120901 /activerecord/test/fixtures/posts.yml | |
parent | 5704ecffadffa04981ec5999c362cb691d4a676e (diff) | |
download | rails-7e3364ac4634f7017305c4bc725710ab0e7ba4c2.tar.gz rails-7e3364ac4634f7017305c4bc725710ab0e7ba4c2.tar.bz2 rails-7e3364ac4634f7017305c4bc725710ab0e7ba4c2.zip |
Fix that counter_cache breaks with has_many :dependent => :nullify.
[#1196 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activerecord/test/fixtures/posts.yml')
-rw-r--r-- | activerecord/test/fixtures/posts.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/posts.yml b/activerecord/test/fixtures/posts.yml index 92e5d1908f..f817493190 100644 --- a/activerecord/test/fixtures/posts.yml +++ b/activerecord/test/fixtures/posts.yml @@ -4,6 +4,7 @@ welcome: title: Welcome to the weblog body: Such a lovely day comments_count: 2 + taggings_count: 1 type: Post thinking: @@ -11,6 +12,8 @@ thinking: author_id: 1 title: So I was thinking body: Like I hopefully always am + comments_count: 1 + taggings_count: 1 type: SpecialPost authorless: |