Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove save_changes #1130

Merged
merged 1 commit into from
Aug 13, 2018

Conversation

seanlinsley
Copy link
Member

Part 3 of #1099, followup to #1123.

This PR removes the save_changes feature in order to simplify the options provided to Paper Trail users. For those who need to save space, it's much more effective to remove the object column (introduced in #1123).

@seanlinsley seanlinsley mentioned this pull request Aug 13, 2018
4 tasks
If you want to selectively record changes for some models but not others you
can opt out of recording changes by passing `save_changes: false` to your
`has_paper_trail` method declaration.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job getting the docs also

@jaredbeck jaredbeck merged commit 45456a8 into paper-trail-gem:master Aug 13, 2018
@seanlinsley seanlinsley deleted the remove-save_changes branch August 13, 2018 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants