rails/activerecord/test/models/country.rb
Ryuta Kamizono 7fae9ba054 create_table with :primary_key option has no effect if id: false is given
Use column definition with `primary_key: true` instead.
2018-10-27 22:57:16 +09:00

6 lines
106 B
Ruby

# frozen_string_literal: true
class Country < ActiveRecord::Base
has_and_belongs_to_many :treaties
end