diff options
author | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2014-04-21 00:44:52 +0530 |
---|---|---|
committer | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2014-04-21 00:44:52 +0530 |
commit | 21dbe6f39b57f52967e92716dbd5e2b894e7a64c (patch) | |
tree | 3c914a5f38e1a97935708f9a1a7b8d2298dd1c98 | |
parent | 86b02826a6d301fe19c30a6f5c01a9e084279c03 (diff) | |
download | rails-21dbe6f39b57f52967e92716dbd5e2b894e7a64c.tar.gz rails-21dbe6f39b57f52967e92716dbd5e2b894e7a64c.tar.bz2 rails-21dbe6f39b57f52967e92716dbd5e2b894e7a64c.zip |
[ci-skip] correct the classify example's output
-rw-r--r-- | activesupport/lib/active_support/inflector/methods.rb | 2 |
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(/.*\./, ''))) |