diff options
author | Andrew S. Brown <andrew@dontfidget.com> | 2014-05-26 11:52:46 -0700 |
---|---|---|
committer | Andrew S. Brown <andrew@dontfidget.com> | 2014-06-10 21:46:12 -0700 |
commit | 9feadc11a71b655dd7748c0f3a92bc411c9e63c2 (patch) | |
tree | f092bdda0e4ff4fd375557e2afe3a2169e121a79 /activerecord/test/schema/schema.rb | |
parent | d075c84320fab51992a1ab7d020c62ff1bad0b4e (diff) | |
download | rails-9feadc11a71b655dd7748c0f3a92bc411c9e63c2.tar.gz rails-9feadc11a71b655dd7748c0f3a92bc411c9e63c2.tar.bz2 rails-9feadc11a71b655dd7748c0f3a92bc411c9e63c2.zip |
use name specified by 'as' for automatic inverse association to avoid reflecting on wrong association
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r-- | activerecord/test/schema/schema.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index c15ee5022e..d62b277c34 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -774,6 +774,8 @@ ActiveRecord::Schema.define do t.integer :man_id t.integer :polymorphic_man_id t.string :polymorphic_man_type + t.integer :polymorphic_man_without_inverse_id + t.string :polymorphic_man_without_inverse_type t.integer :horrible_polymorphic_man_id t.string :horrible_polymorphic_man_type end |