app/models/audits1984/audit.rb in audits1984-0.1.6 vs app/models/audits1984/audit.rb in audits1984-0.1.7
- old
+ new
@@ -1,10 +1,10 @@
module Audits1984
class Audit < Console1984::Base
belongs_to :session, class_name: "Console1984::Session", touch: true
belongs_to :auditor, class_name: Audits1984.auditor_class
- enum status: %i[ pending approved flagged ]
+ enum :status, %i[ pending approved flagged ]
encrypts :notes
end
end