audited
audited copied to clipboard
Support method symbols in max_audits
Allow passing a method symbol to max_audits
for dynamic maximum audits
Example
class User < ApplicationRecord
audited max_audits: :max
private
def max
self.maximum_audits || 10
end
end
@fractaledmind Thank you for the good review