# Used to track when a user downloads a target file class Dunlop::TargetFileDownload < ApplicationRecord belongs_to :user, optional: true belongs_to :target_file end