diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-02-02 03:27:31 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-02-02 03:27:31 +0000 |
commit | b1ea27630df0f0639900b321d756091b42ed29f7 (patch) | |
tree | 4372f5dc041745269ebba322ba6dd902b43792f6 /activerecord/test/schema | |
parent | 9d79e0668d6a51573170ee568c5bac6717ec1a0c (diff) | |
download | rails-b1ea27630df0f0639900b321d756091b42ed29f7.tar.gz rails-b1ea27630df0f0639900b321d756091b42ed29f7.tar.bz2 rails-b1ea27630df0f0639900b321d756091b42ed29f7.zip |
Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey Kondratenko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 8ab2022f8b..951217b198 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -367,4 +367,10 @@ ActiveRecord::Schema.define do t.string :name t.integer :owner_id, :integer end + + create_table :price_estimates, :force => true do |t| + t.string :estimate_of_type + t.integer :estimate_of_id + t.integer :price + end end |