1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/models/treaty.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

5 lines
106 B
Ruby

# frozen_string_literal: true
class Treaty < ActiveRecord::Base
has_and_belongs_to_many :countries
end