1 2 3 4 5 6
class Checkpoint < ApplicationRecord belongs_to :run belongs_to :user has_one_attached :save_file end