aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/members.yml
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-12-23 13:36:25 +0000
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-23 15:19:18 -0800
commit1c07b84df95e932d50376c1d0a13585b2e2ef868 (patch)
treef16b0fa9a0b1f8bebe41743e8e68372eb61247bd /activerecord/test/fixtures/members.yml
parent2d9626fc74c2d57f90c856c37e5967bbe6651bd8 (diff)
downloadrails-1c07b84df95e932d50376c1d0a13585b2e2ef868.tar.gz
rails-1c07b84df95e932d50376c1d0a13585b2e2ef868.tar.bz2
rails-1c07b84df95e932d50376c1d0a13585b2e2ef868.zip
If a has_many goes :through a belongs_to, and the foreign key of the belongs_to changes, then the has_many should be considered stale.
Diffstat (limited to 'activerecord/test/fixtures/members.yml')
-rw-r--r--activerecord/test/fixtures/members.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/members.yml b/activerecord/test/fixtures/members.yml
index 6db945e61d..824840b7e5 100644
--- a/activerecord/test/fixtures/members.yml
+++ b/activerecord/test/fixtures/members.yml
@@ -1,6 +1,8 @@
groucho:
+ id: 1
name: Groucho Marx
member_type_id: 1
some_other_guy:
+ id: 2
name: Englebert Humperdink
member_type_id: 2