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

Stop loading datetime precision patch on Active Record 7+ #5

Merged
merged 1 commit into from Mar 3, 2022

Conversation

sikachu
Copy link
Contributor

@sikachu sikachu commented Mar 3, 2022

This is an alternate take to #3

This PR keeps datetime(6) precision patch as-is, but only load the patch when the gem is loaded with Active Record version less than 7.

Close #3

@sikachu sikachu requested review from robertomiranda, a team and arunagw and removed request for a team March 3, 2022 11:47
Copy link
Member

@robertomiranda robertomiranda left a comment

Choose a reason for hiding this comment

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

Perfect thanks @sikachu

@sikachu sikachu merged commit 4258848 into main Mar 3, 2022
@sikachu sikachu deleted the sikachu/only-load-precision-rails-6 branch March 3, 2022 13:04
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.

None yet

3 participants