class Run < ApplicationRecord belongs_to :game belongs_to :user has_many :checkpoints, dependent: :destroy validates_presence_of :title end