diff options
author | Ruy Asan <ruyasan@gmail.com> | 2009-05-01 13:09:29 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-01 14:47:56 -0700 |
commit | 99c103be1165da9c8299bc0977188ecf167e06a5 (patch) | |
tree | f57524e693656e67f09173f130dbc174b298daf6 /activerecord/test/fixtures | |
parent | db0bfe4ede3cdfc2e4ccdb2a89525a914e6d0913 (diff) | |
download | rails-99c103be1165da9c8299bc0977188ecf167e06a5.tar.gz rails-99c103be1165da9c8299bc0977188ecf167e06a5.tar.bz2 rails-99c103be1165da9c8299bc0977188ecf167e06a5.zip |
Fixed bug with polymorphic has_one :as pointing to an STI record
[#2594 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r-- | activerecord/test/fixtures/organizations.yml | 4 | ||||
-rw-r--r-- | activerecord/test/fixtures/sponsors.yml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/activerecord/test/fixtures/organizations.yml b/activerecord/test/fixtures/organizations.yml index 25295bff87..05d620fbc6 100644 --- a/activerecord/test/fixtures/organizations.yml +++ b/activerecord/test/fixtures/organizations.yml @@ -2,4 +2,6 @@ nsa: name: No Such Agency discordians: name: Discordians - +sponsorable: + name: We Need Money + type: SponsorableOrganization diff --git a/activerecord/test/fixtures/sponsors.yml b/activerecord/test/fixtures/sponsors.yml index 42df8957d1..97a7784047 100644 --- a/activerecord/test/fixtures/sponsors.yml +++ b/activerecord/test/fixtures/sponsors.yml @@ -6,4 +6,6 @@ boring_club_sponsor_for_groucho: sponsorable: some_other_guy (Member) crazy_club_sponsor_for_groucho: sponsor_club: crazy_club - sponsorable: some_other_guy (Member)
\ No newline at end of file + sponsorable: some_other_guy (Member) +org_sponsor: + sponsorable: sponsorable (SponsorableOrganization)
\ No newline at end of file |