6 lines
114 B
Ruby

class PlayToBeat < ActiveRecord::Base
belongs_to :game
belongs_to :play
has_one :player, through: :play
end