diff options
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/inflections.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/inflections.rb b/activesupport/lib/active_support/inflections.rb index b40f9cc1eb..18fa4c336c 100644 --- a/activesupport/lib/active_support/inflections.rb +++ b/activesupport/lib/active_support/inflections.rb @@ -3,7 +3,7 @@ Inflector.inflections do |inflect| inflect.plural /s$/i, 's' inflect.plural /(ax|test)is$/i, '\1es' inflect.plural /(octop|vir)us$/i, '\1i' - inflect.plural /(alias|status)/i, '\1es' + inflect.plural /(alias|status)$/i, '\1es' inflect.plural /(bu)s$/i, '\1ses' inflect.plural /(buffal|tomat)o$/i, '\1oes' inflect.plural /([ti])um$/i, '\1a' @@ -50,4 +50,4 @@ Inflector.inflections do |inflect| inflect.irregular 'move', 'moves' inflect.uncountable %w( equipment information rice money species series fish sheep ) -end
\ No newline at end of file +end |