aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-02-28 20:42:01 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2008-02-28 20:42:01 +0000
commit5dee6ce9e0e31c86c4319c17a1ee551832ecb7a8 (patch)
treea56b21361b4135dfe7626c471000afc574e21110 /activerecord/test/fixtures
parentd6e355d1dfe483b93c0d37b74e8ad8405a1b7505 (diff)
downloadrails-5dee6ce9e0e31c86c4319c17a1ee551832ecb7a8.tar.gz
rails-5dee6ce9e0e31c86c4319c17a1ee551832ecb7a8.tar.bz2
rails-5dee6ce9e0e31c86c4319c17a1ee551832ecb7a8.zip
Fix that batched :include would pull in duplicate records in some cases. Closes #11215 [Catfish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/people.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/people.yml b/activerecord/test/fixtures/people.yml
index 22c64afb70..d5a69e561d 100644
--- a/activerecord/test/fixtures/people.yml
+++ b/activerecord/test/fixtures/people.yml
@@ -1,3 +1,6 @@
michael:
id: 1
- first_name: Michael \ No newline at end of file
+ first_name: Michael
+david:
+ id: 2
+ first_name: David \ No newline at end of file