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

Rails 6.1 capable #7

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

Rails 6.1 capable #7

wants to merge 7 commits into from

Conversation

lukebooth
Copy link

No description provided.

@boblail boblail self-requested a review November 12, 2021 13:10
@kobsy kobsy mentioned this pull request Dec 13, 2021
private

def types_method
before_rails61? ? :types : :klass
Copy link
Owner

Choose a reason for hiding this comment

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

I'd expect this to work — does it?

Suggested change
before_rails61? ? :types : :klass
ActiveRecord::VERSION < "6.1" ? :types : :klass

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.

3 participants