Skip to content

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