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

Query Versions Where Attribute Changed #1292

Merged
merged 2 commits into from
Apr 5, 2021

Conversation

kevin-j-m
Copy link
Contributor

This adds in a new query method where_attribute_changes which will
look for any versions where there was a change to the attribute
specified.

In instances where you need to look for any changes to a particular
attribute, but don't yet know, or don't care, what the value of the
attribute was that changed at all, this is intended to answer that
question.

Thank you for your contribution!

Check the following boxes:

  • Wrote good commit messages.
  • 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.

kevin-j-m and others added 2 commits February 22, 2021 21:19
This adds in a new query method `where_attribute_changes` which will
look for any versions where there was a change to the attribute
specified.

In instances where you need to look for any changes to a particular
attribute, but don't yet know, or don't care, what the value of the
attribute was that changed at all, this is intended to answer that
question.
@jaredbeck jaredbeck merged commit 52881f2 into paper-trail-gem:master Apr 5, 2021
jaredbeck added a commit that referenced this pull request Apr 5, 2021
@jaredbeck
Copy link
Member

Released in 12.1.0

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