aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/country.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/country.rb')
-rw-r--r--activerecord/test/models/country.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/activerecord/test/models/country.rb b/activerecord/test/models/country.rb
index 7db9a4e731..4b4a276a98 100644
--- a/activerecord/test/models/country.rb
+++ b/activerecord/test/models/country.rb
@@ -1,7 +1,5 @@
-class Country < ActiveRecord::Base
-
- self.primary_key = :country_id
+# frozen_string_literal: true
+class Country < ActiveRecord::Base
has_and_belongs_to_many :treaties
-
end