diff options
Diffstat (limited to 'activerecord/test/models/country.rb')
-rw-r--r-- | activerecord/test/models/country.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/country.rb b/activerecord/test/models/country.rb index 15e3a1de0b..7db9a4e731 100644 --- a/activerecord/test/models/country.rb +++ b/activerecord/test/models/country.rb @@ -1,6 +1,6 @@ class Country < ActiveRecord::Base - set_primary_key :country_id + self.primary_key = :country_id has_and_belongs_to_many :treaties |