aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-05-25 09:50:53 +0200
committerXavier Noria <fxn@hashref.com>2009-05-25 09:50:53 +0200
commit1afe7f2b79e346deb72d78e62fe9c85e54c5a106 (patch)
tree5a541590b0cee528b2668cbfdde6ddbfe444abbe
parent4e56cc2f9917073c8774c28703cb6e3b7cbba848 (diff)
downloadrails-1afe7f2b79e346deb72d78e62fe9c85e54c5a106.tar.gz
rails-1afe7f2b79e346deb72d78e62fe9c85e54c5a106.tar.bz2
rails-1afe7f2b79e346deb72d78e62fe9c85e54c5a106.zip
The original example was correct.
This reverts commit 4e56cc2f9917073c8774c28703cb6e3b7cbba848.
-rw-r--r--activesupport/lib/active_support/core_ext/string/inflections.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb
index 541931a037..ea4ed61e42 100644
--- a/activesupport/lib/active_support/core_ext/string/inflections.rb
+++ b/activesupport/lib/active_support/core_ext/string/inflections.rb
@@ -121,7 +121,7 @@ class String
#
# Singular names are not handled correctly.
#
- # "business".classify # => "Business"
+ # "business".classify # => "Busines"
def classify
ActiveSupport::Inflector.classify(self)
end