A simple auditing gem that does things a little differently. Rather than just storing the domain changes made this gem is also capable of storing the context in which the changes were made such as a http request. This context is stored in a separate database table and is shared by multiple revisions in case a single request causes changes to multiple domain models.
Add this line to your application's Gemfile:
gem 'samsara'
And then execute:
$ bundle
Or install it yourself as:
$ gem install samsara
- Fork it ( https://github.com/nedap/samsara/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request