Last active
June 13, 2020 14:00
-
-
Save nsommer/048f55e89d05fe813a50a61007842cf3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gemfile | |
gem 'paper_trail' | |
# app/models/my_model.rb | |
class MyModel < ApplicationRecord | |
has_paper_trail | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment