module Auditor::Auditable::InstanceMethods
Public Instance Methods
attributes_at(date_or_time)
click to toggle source
# File lib/auditor/auditable.rb, line 38 def attributes_at(date_or_time) audits.where('created_at <= ?', date_or_time).last.attribute_snapshot end