diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-05-24 03:35:20 -0700 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-05-24 03:35:20 -0700 |
commit | 7101a857b46e1c8aa3b9dd9641c4fc5b28a143e6 (patch) | |
tree | df7bb42f0850895d0aea3a4ad1de237d970a84f1 /activerecord/test/models | |
parent | d29399061e54092fdbf57780c38e19dd1921f45d (diff) | |
parent | 0e14973a3368945d9a7fddb4bfeefe3fc2f2a246 (diff) | |
download | rails-7101a857b46e1c8aa3b9dd9641c4fc5b28a143e6.tar.gz rails-7101a857b46e1c8aa3b9dd9641c4fc5b28a143e6.tar.bz2 rails-7101a857b46e1c8aa3b9dd9641c4fc5b28a143e6.zip |
Merge pull request #10745 from arunagw/build_fix_ruby187
Build fix ruby187
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/person.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/person.rb b/activerecord/test/models/person.rb index 3a7a730a1a..d316a0b992 100644 --- a/activerecord/test/models/person.rb +++ b/activerecord/test/models/person.rb @@ -27,7 +27,7 @@ class Person < ActiveRecord::Base has_many :agents_posts, :through => :agents, :source => :posts has_many :agents_posts_authors, :through => :agents_posts, :source => :author - has_many :essays, primary_key: "first_name", foreign_key: "writer_id" + has_many :essays, :primary_key => "first_name", :foreign_key => "writer_id" scope :males, :conditions => { :gender => 'M' } scope :females, :conditions => { :gender => 'F' } |