audit.rb 202 B

123456
  1. module Blazer
  2. class Audit < ActiveRecord::Base
  3. belongs_to :user, Blazer::BELONGS_TO_OPTIONAL.merge(class_name: Blazer.user_class.to_s)
  4. belongs_to :query, Blazer::BELONGS_TO_OPTIONAL
  5. end
  6. end