diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-05-11 08:55:36 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-05-11 08:56:01 +0100 |
commit | 1dd90f8f12d1904ee3db37f9390df3246bb2712b (patch) | |
tree | af878256f943714b18e07be9f1238ddd3fe47b71 /activerecord/test/fixtures/memberships.yml | |
parent | aa1fc1c88cb58b6387cb7a8560aac78ef56fa024 (diff) | |
download | rails-1dd90f8f12d1904ee3db37f9390df3246bb2712b.tar.gz rails-1dd90f8f12d1904ee3db37f9390df3246bb2712b.tar.bz2 rails-1dd90f8f12d1904ee3db37f9390df3246bb2712b.zip |
Don't use select() values from the join model of a through association. Fixes #508.
Diffstat (limited to 'activerecord/test/fixtures/memberships.yml')
-rw-r--r-- | activerecord/test/fixtures/memberships.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/memberships.yml b/activerecord/test/fixtures/memberships.yml index 60eb641054..a5d52bd438 100644 --- a/activerecord/test/fixtures/memberships.yml +++ b/activerecord/test/fixtures/memberships.yml @@ -25,3 +25,10 @@ blarpy_winkup_crazy_club: member_id: 3 favourite: false type: CurrentMembership + +selected_membership_of_boring_club: + joined_on: <%= 3.weeks.ago.to_s(:db) %> + club: boring_club + member_id: 1 + favourite: false + type: SelectedMembership |