This repository was archived by the owner on Apr 17, 2018. It is now read-only.
snake_case method better handles numbers.#6
Open
jonhiggs wants to merge 1 commit intodatamapper:masterfrom
Open
snake_case method better handles numbers.#6jonhiggs wants to merge 1 commit intodatamapper:masterfrom
jonhiggs wants to merge 1 commit intodatamapper:masterfrom
Conversation
Author
|
It seems travis isn't able to run the specs. I guess it's because of the same reason I couldn't initially run the tests either. I've hacked the Rakefile and added a Gemfile but as you requested pull requests to not touch the rake tasks I've left that commit out. You can find it at jonhiggs@8b22c4d if you are interested. |
Member
|
@jonhiggs If all you need is inflection, a better library is probably https://github.com/mbj/inflecto which was extracted from extlib. |
Author
|
Cheers. I had a quick look and it seems to be what I'm after. I didn't know it was called inflection. Thanks again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"Ec2Instance".snake_case will now return 'ec2_instance' instead of 'ec2instance'.