Skip to content

Avoid ruby2_keywords usage#1830

Open
Earlopain wants to merge 1 commit into
thoughtbot:mainfrom
Earlopain:no-ruby2-keywords
Open

Avoid ruby2_keywords usage#1830
Earlopain wants to merge 1 commit into
thoughtbot:mainfrom
Earlopain:no-ruby2-keywords

Conversation

@Earlopain

Copy link
Copy Markdown
Contributor

factory_bot needs ruby >= 3.0, so there's no need for this anymore.
Ruby might deprecate this finally: https://bugs.ruby-lang.org/issues/22205

`factory_bot` needs ruby >= 3.0, so there's no need for this anymore.
Ruby might deprecate this finally: https://bugs.ruby-lang.org/issues/22205
@CodeMeister

Copy link
Copy Markdown
Contributor

Hi @Earlopain. I appreciate you want to update the method definitions, but I don't think this is wise.

There are still many applications running on ruby 2.7 (yes I know they should upgrade, but that's another issue).

Dropping 2.7 support just for the sake of better method definition is overkill.

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