0.0
No commit activity in last 3 years
No release in over 3 years
audit ActiveRecord change
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0
~> 1.3

Runtime

>= 4.2.4, ~> 4.2
 Project Readme

#RecordAuditor

audit ActiveRecord change

heavily inspired by audited

##How To Start ###1. Add below to config/initializer/record_auditor.rb

RecordAuditor.handle_audit=Proc.new{|options|puts options} #change to whatever you want to audit active record
RecordAuditor.current_user_method=:current_rollbar_user #your custom current_user method

###2. add audit to the model you want to audit

class User < ::ActiveRecord::Base
   audit
   ...
end

MIT