aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/posts.yml
diff options
context:
space:
mode:
authorGabe da Silveira <gabe@websaviour.com>2009-08-09 13:16:57 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-08-09 21:18:16 -0700
commit7e3364ac4634f7017305c4bc725710ab0e7ba4c2 (patch)
treea8a074d7d28a408e9d0ab9cdc624fd7802120901 /activerecord/test/fixtures/posts.yml
parent5704ecffadffa04981ec5999c362cb691d4a676e (diff)
downloadrails-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.yml3
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: