Skip to content

#1459 - create paper_trail.rb initializer that disables versioning on touch events by default. #1520

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ngobin
Copy link

@ngobin ngobin commented Apr 14, 2025

rails generate paper_trail:install creates a paper_trail.rb initializer file that disables versioning on touch events by default. The initializer file also has examples for the other significant global config settings mentioned in the readme.

install_generator.rb already contained old comments about creating an initializer file, however the initializer generation was removed when association tracking was split off in 2018 (Commit 1d42d0d).

Thank you for your contribution!
Check the following boxes:

  • Wrote [good commit messages][1].
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Added an entry to the Changelog if the new
    code introduces user-observable changes.
  • The PR relates to only one subject with a clear title
    and description in grammatically correct, complete sentences.

ngobin and others added 2 commits April 14, 2025 13:01
revert unintended change made by Appraisal
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.

1 participant