diff options
author | Jon Leighton <j@jonathanleighton.com> | 2010-10-19 12:47:19 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2010-10-19 12:47:19 +0100 |
commit | 596cc3b2329a9cc4a30c95c157ce36b2d08975df (patch) | |
tree | 2a67f6a9270bb528ad5df8bc805f2ef121e93858 /activerecord/test/schema | |
parent | 9ec07348749675110843c44f680da79223218db2 (diff) | |
download | rails-596cc3b2329a9cc4a30c95c157ce36b2d08975df.tar.gz rails-596cc3b2329a9cc4a30c95c157ce36b2d08975df.tar.bz2 rails-596cc3b2329a9cc4a30c95c157ce36b2d08975df.zip |
Respect the :primary_key option on the through_reflection of (non-nested) through associations
Diffstat (limited to 'activerecord/test/schema')
-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 ee129162a6..b5bf9a7349 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -214,6 +214,8 @@ ActiveRecord::Schema.define do t.string :name t.string :writer_id t.string :writer_type + t.integer :category_id + t.integer :author_id end create_table :events, :force => true do |t| |