aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/posts.yml
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-14 07:49:13 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-14 07:49:13 +0000
commit75b8ac80d988c39e48966d6b60f0d1d46c0d75a6 (patch)
treea30b3f7ad12046afe56ca2c89c86a89eec497589 /activerecord/test/fixtures/posts.yml
parentcef09015c7264adf082bff01a220a0b66a83dd90 (diff)
downloadrails-75b8ac80d988c39e48966d6b60f0d1d46c0d75a6.tar.gz
rails-75b8ac80d988c39e48966d6b60f0d1d46c0d75a6.tar.bz2
rails-75b8ac80d988c39e48966d6b60f0d1d46c0d75a6.zip
Dont initialize the association proxy for nil records
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/posts.yml')
-rw-r--r--activerecord/test/fixtures/posts.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/posts.yml b/activerecord/test/fixtures/posts.yml
index f5effb20fc..9d22b2a603 100644
--- a/activerecord/test/fixtures/posts.yml
+++ b/activerecord/test/fixtures/posts.yml
@@ -11,3 +11,10 @@ thinking:
title: So I was thinking
body: Like I hopefully always am
type: SpecialPost
+
+authorless:
+ id: 3
+ author_id: ""
+ title: I don't have any comments
+ body: I just don't want to
+ type: Post