From db2495cf7ea12ee8bdea5c634a004d4f97454667 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 19 May 2005 17:10:20 +0000 Subject: Fixed the pluralization of analysis to analyses #1295 [seattle@rootimage.msu.edu] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/inflector.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/inflector.rb b/activesupport/lib/active_support/inflector.rb index 03dd2b092a..5d885c62bf 100644 --- a/activesupport/lib/active_support/inflector.rb +++ b/activesupport/lib/active_support/inflector.rb @@ -83,6 +83,7 @@ module Inflector [/([lr])ves$/i, '\1f'], [/(tive)s$/i, '\1'], [/([^f])ves$/i, '\1fe'], + [/(^analy)ses$/i, '\1sis'], [/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/i, '\1\2sis'], [/([ti])a$/i, '\1um'], [/(p)eople$/i, '\1\2erson'], -- cgit v1.2.3