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

Various followups to rails 5.1 work #901

Merged
merged 5 commits into from
Dec 4, 2016
Merged

Various followups to rails 5.1 work #901

merged 5 commits into from
Dec 4, 2016

Conversation

jaredbeck
Copy link
Member

Various followups to #899 / #900. Various preparations for release of PT 6.0.0.

Avoid potential change to our public API

It's not clear that this method is API-private.
> Use assert_nil if expecting nil .. This will fail in MT6.
@jaredbeck jaredbeck changed the title Followup rails51 Various followups to rails 5.1 work Dec 3, 2016
@@ -1,14 +1,27 @@
module PaperTrail
# Represents the "paper trail" for a single record.
class RecordTrail
RAILS_GTE_5_1 = ::ActiveRecord::VERSION::MAJOR >= 5 && ::ActiveRecord::VERSION::MINOR >= 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good thinking here

@batter
Copy link
Collaborator

batter commented Dec 3, 2016

👍

@jaredbeck jaredbeck merged commit 53f5665 into master Dec 4, 2016
@jaredbeck jaredbeck deleted the followup_rails51 branch December 4, 2016 01:11
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