diff options
author | George Ogata <george.ogata@gmail.com> | 2009-11-29 00:46:09 -0500 |
---|---|---|
committer | Eloy Duran <eloy.de.enige@gmail.com> | 2009-12-28 15:12:13 +0100 |
commit | 81ca0cf2b074f4b868a84c427ef155607a956119 (patch) | |
tree | 767bccec4edba6ad384c1961de4f6c46a812662b /activerecord/test/fixtures | |
parent | 6c8c85bc1eaf1639ea0df5f356e7105c74d128b2 (diff) | |
download | rails-81ca0cf2b074f4b868a84c427ef155607a956119.tar.gz rails-81ca0cf2b074f4b868a84c427ef155607a956119.tar.bz2 rails-81ca0cf2b074f4b868a84c427ef155607a956119.zip |
Add inverse polymorphic association support. [#3520 state:resolved]
Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r-- | activerecord/test/fixtures/faces.yml | 4 | ||||
-rw-r--r-- | activerecord/test/fixtures/interests.yml | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/faces.yml b/activerecord/test/fixtures/faces.yml index 1dd2907cf7..c8e4a34484 100644 --- a/activerecord/test/fixtures/faces.yml +++ b/activerecord/test/fixtures/faces.yml @@ -5,3 +5,7 @@ trusting: weather_beaten: description: weather beaten man: steve + +confused: + description: confused + polymorphic_man: gordon (Man) diff --git a/activerecord/test/fixtures/interests.yml b/activerecord/test/fixtures/interests.yml index ec71890ab6..9200a19d5a 100644 --- a/activerecord/test/fixtures/interests.yml +++ b/activerecord/test/fixtures/interests.yml @@ -23,7 +23,11 @@ woodsmanship: zine: going_out man: steve -survial: +survival: topic: Survival zine: going_out man: steve + +llama_wrangling: + topic: Llama Wrangling + polymorphic_man: gordon (Man) |