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.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/test/models/country.rb b/activerecord/test/models/country.rb
new file mode 100644
index 0000000000..15e3a1de0b
--- /dev/null
+++ b/activerecord/test/models/country.rb
@@ -0,0 +1,7 @@
+class Country < ActiveRecord::Base
+
+ set_primary_key :country_id
+
+ has_and_belongs_to_many :treaties
+
+end