class AuditLog < ApplicationRecord belongs_to :user validates :user_id, presence: true end