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