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

merged 2 commits into from Apr 28, 2012


None yet

3 participants


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


👍 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