Created
January 29, 2013 19:15
-
-
Save jlapier/4666809 to your computer and use it in GitHub Desktop.
there are no words in English that end in 's' as singular but 'ss' as plural
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
# config/initializers/inflections.rb | |
ActiveSupport::Inflector.inflections do |inflect| | |
inflect.singular(/^(.*ss)$/i, '\1') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment