diff options
author | Arun Agrawal <arunagw@gmail.com> | 2014-04-20 21:23:52 +0200 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2014-04-20 21:23:52 +0200 |
commit | 50b849c7e0ed04d0917f94ac9524b8c25103eee8 (patch) | |
tree | 3c914a5f38e1a97935708f9a1a7b8d2298dd1c98 /activesupport/lib | |
parent | 86b02826a6d301fe19c30a6f5c01a9e084279c03 (diff) | |
parent | 21dbe6f39b57f52967e92716dbd5e2b894e7a64c (diff) | |
download | rails-50b849c7e0ed04d0917f94ac9524b8c25103eee8.tar.gz rails-50b849c7e0ed04d0917f94ac9524b8c25103eee8.tar.bz2 rails-50b849c7e0ed04d0917f94ac9524b8c25103eee8.zip |
Merge pull request #14823 from kuldeepaggarwal/fix-inflector-example
correct the classify example's output.
Diffstat (limited to 'activesupport/lib')
-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(/.*\./, ''))) |