diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-11 12:01:08 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-11 12:20:54 -0700 |
commit | ddbeb15a5e7e0c3c5f316ccf65b557bc5311a6c4 (patch) | |
tree | 96af79cc6a1fbf6be739102bd2afeec1f2df7ef6 /activerecord/test/models/organization.rb | |
parent | e1854e0b199fba352ddcaa58a3af168e8cc70e3a (diff) | |
download | rails-ddbeb15a5e7e0c3c5f316ccf65b557bc5311a6c4.tar.gz rails-ddbeb15a5e7e0c3c5f316ccf65b557bc5311a6c4.tar.bz2 rails-ddbeb15a5e7e0c3c5f316ccf65b557bc5311a6c4.zip |
Revert "Fixed bug with polymorphic has_one :as pointing to an STI record"
[#2594 state:open]
This reverts commit 99c103be1165da9c8299bc0977188ecf167e06a5.
Diffstat (limited to 'activerecord/test/models/organization.rb')
-rw-r--r-- | activerecord/test/models/organization.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/models/organization.rb b/activerecord/test/models/organization.rb index 5d1308354d..d79d5037c8 100644 --- a/activerecord/test/models/organization.rb +++ b/activerecord/test/models/organization.rb @@ -1,8 +1,4 @@ class Organization < ActiveRecord::Base has_many :member_details has_many :members, :through => :member_details -end - -class SponsorableOrganization < Organization - has_one :sponsor, :as => :sponsorable end
\ No newline at end of file |