aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/inflector
diff options
context:
space:
mode:
authorKuldeep Aggarwal <kd.engineer@yahoo.co.in>2014-04-21 00:44:52 +0530
committerKuldeep Aggarwal <kd.engineer@yahoo.co.in>2014-04-21 00:44:52 +0530
commit21dbe6f39b57f52967e92716dbd5e2b894e7a64c (patch)
tree3c914a5f38e1a97935708f9a1a7b8d2298dd1c98 /activesupport/lib/active_support/inflector
parent86b02826a6d301fe19c30a6f5c01a9e084279c03 (diff)
downloadrails-21dbe6f39b57f52967e92716dbd5e2b894e7a64c.tar.gz
rails-21dbe6f39b57f52967e92716dbd5e2b894e7a64c.tar.bz2
rails-21dbe6f39b57f52967e92716dbd5e2b894e7a64c.zip
[ci-skip] correct the classify example's output
Diffstat (limited to 'activesupport/lib/active_support/inflector')
-rw-r--r--activesupport/lib/active_support/inflector/methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/inflector/methods.rb b/activesupport/lib/active_support/inflector/methods.rb
index 94bda511bc..eba2c2bbdb 100644
--- a/activesupport/lib/active_support/inflector/methods.rb
+++ b/activesupport/lib/active_support/inflector/methods.rb
@@ -155,7 +155,7 @@ module ActiveSupport
#
# Singular names are not handled correctly:
#
- # 'business'.classify # => "Busines"
+ # 'business'.classify # => "Business"
def classify(table_name)
# strip out any leading schema name
camelize(singularize(table_name.to_s.sub(/.*\./, '')))