app/models/blazer/audit.rb in blazer-1.3.2 vs app/models/blazer/audit.rb in blazer-1.3.3

- old
+ new

@@ -1,6 +1,6 @@ module Blazer class Audit < ActiveRecord::Base - belongs_to :user, class_name: Blazer.user_class.to_s, required: false - belongs_to :query, required: false + belongs_to :user, Blazer::BELONGS_TO_OPTIONAL.merge(class_name: Blazer.user_class.to_s) + belongs_to :query, Blazer::BELONGS_TO_OPTIONAL end end