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

Remove roflscaling #35664

Merged
merged 2 commits into from Mar 19, 2019
Merged

Remove roflscaling #35664

merged 2 commits into from Mar 19, 2019

Conversation

jeremyevans
Copy link
Contributor

roflscaling (using frozen string constants instead of literal
strings) was added in 2012, before frozen string literals were
added in Ruby 2.3. Now that Rails no longer supports Ruby <2.3,
and all of these files use frozen string literals, there is
no reason to keep the roflscaling.

This does not delete or deprecate the related constants. Such
a change can be made in a later commit.

@tenderlove may want to review this as he added the roflscaling
in e232226.

roflscaling (using frozen string constants instead of literal
strings) was added in 2012, before frozen string literals were
added in Ruby 2.3.  Now that Rails no longer supports Ruby <2.3,
and all of these files use frozen string literals, there is
no reason to keep the roflscaling.

This does not delete or deprecate the related constants. Such
a change can be made in a later commit.
@tenderlove
Copy link
Member

Awesome! Glad we can get rid of this junk! ❤️🧡💛💚💙💜🖤

Copy link
Member

@jeremy jeremy left a comment

Choose a reason for hiding this comment

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

Yes! Can we remove the constants as well? They're :nodoc:-private.

@jeremyevans
Copy link
Contributor Author

Sure, here's another commit to remove the constants.

@rafaelfranca rafaelfranca merged commit fbc2e67 into rails:master Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants