Skip to content

Do not override String.underscore - #2

Open
pmatsinopoulos wants to merge 1 commit into
maestrano:masterfrom
pmatsinopoulos:master
Open

pmatsinopoulos wants to merge 1 commit into
maestrano:masterfrom
pmatsinopoulos:master

Conversation

@pmatsinopoulos

Copy link
Copy Markdown

Overriding String.underscore introduced problems in our Rails project. It breaks the autoloading mechanism that Rails uses. I have created a module level method and I have transferred your String#underscore implementation into that.

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.

1 participant