diff --git a/app/models/party.rb b/app/models/party.rb index bfc74ef..f0335c8 100644 --- a/app/models/party.rb +++ b/app/models/party.rb @@ -1,2 +1,5 @@ class Party < ApplicationRecord +##### ActiveRecord Associations + belongs_to :user, optional: true + has_many :weapons, through: :grid_weapons end