diff options
author | Dana Sherson <robot@dana.sh> | 2018-04-20 10:56:49 +1000 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-04-20 17:28:25 -0400 |
commit | 75ef18c67c29b1b51314b6c8a963cee53394080b (patch) | |
tree | a4fb73cd8ebacae9fe1eeef4df70a3e1b265522b /activerecord/test/fixtures | |
parent | 7bdfc63cc245c14110e4ae092198137f01454129 (diff) | |
download | rails-75ef18c67c29b1b51314b6c8a963cee53394080b.tar.gz rails-75ef18c67c29b1b51314b6c8a963cee53394080b.tar.bz2 rails-75ef18c67c29b1b51314b6c8a963cee53394080b.zip |
Can preload associations through polymorphic associations
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r-- | activerecord/test/fixtures/sponsors.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/sponsors.yml b/activerecord/test/fixtures/sponsors.yml index 2da541c539..02ddb8dd38 100644 --- a/activerecord/test/fixtures/sponsors.yml +++ b/activerecord/test/fixtures/sponsors.yml @@ -10,3 +10,6 @@ crazy_club_sponsor_for_groucho: sponsor_club: crazy_club sponsorable_id: 3 sponsorable_type: Member +sponsor_for_author_david: + sponsorable_id: 1 + sponsorable_type: Author |