Skip to content

Commit

Permalink
Fixed the pluralization of analysis to analyses #1295 [seattle@rootim…
Browse files Browse the repository at this point in the history
…age.msu.edu]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed May 19, 2005
1 parent 190e046 commit db2495c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activesupport/CHANGELOG
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,7 @@
*SVN* *SVN*


* Fixed the pluralization of analysis to analyses #1295 [seattle@rootimage.msu.edu]

* Fixed that Time.local(2005,12).months_since(1) would raise "ArgumentError: argument out of range" #1311 [jhahn@niveon.com] * Fixed that Time.local(2005,12).months_since(1) would raise "ArgumentError: argument out of range" #1311 [jhahn@niveon.com]


* Added silencing to the default Logger class * Added silencing to the default Logger class
Expand Down
1 change: 1 addition & 0 deletions activesupport/lib/active_support/inflector.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def singular_rules #:doc:
[/([lr])ves$/i, '\1f'], [/([lr])ves$/i, '\1f'],
[/(tive)s$/i, '\1'], [/(tive)s$/i, '\1'],
[/([^f])ves$/i, '\1fe'], [/([^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'], [/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/i, '\1\2sis'],
[/([ti])a$/i, '\1um'], [/([ti])a$/i, '\1um'],
[/(p)eople$/i, '\1\2erson'], [/(p)eople$/i, '\1\2erson'],
Expand Down
1 change: 1 addition & 0 deletions activesupport/test/inflector_test.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class InflectorTest < Test::Unit::TestCase


"datum" => "data", "datum" => "data",
"medium" => "media", "medium" => "media",
"analysis" => "analyses",


"node_child" => "node_children", "node_child" => "node_children",
"child" => "children", "child" => "children",
Expand Down

0 comments on commit db2495c

Please sign in to comment.