class GamesPlayer < ApplicationRecord
  belongs_to :game
  belongs_to :player

  validates :game, uniqueness: {scope: :player}
end
