1 2 3 4 5 6 7
class Country < ActiveRecord::Base self.primary_key = :country_id has_and_belongs_to_many :treaties end