Refactor AMo::Translation, avoid changing options in human attr name #6035

Merged
merged 2 commits into from Apr 28, 2012

Projects

None yet

3 participants

@carlosantoniodasilva

Avoid changing the given options hash in #human_attribute_name, and some
minor refactoring. Any feedback is welcome, thanks!

@larzconwell
Contributor

👍 I like the refactor, it's a lot more concise and maintainable.

@josevalim josevalim merged commit 71cf6ef into rails:master Apr 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment