diff options
author | Arun Agrawal <arunagw@gmail.com> | 2014-04-20 21:43:24 +0200 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2014-04-20 21:46:50 +0200 |
commit | 94799eb7a2f49ec520d3718b7cb6fc4f2cc48c75 (patch) | |
tree | 0d6e9874c95801e4c7f1161fb0a0be4fa07606e9 /activesupport/lib | |
parent | 50b849c7e0ed04d0917f94ac9524b8c25103eee8 (diff) | |
download | rails-94799eb7a2f49ec520d3718b7cb6fc4f2cc48c75.tar.gz rails-94799eb7a2f49ec520d3718b7cb6fc4f2cc48c75.tar.bz2 rails-94799eb7a2f49ec520d3718b7cb6fc4f2cc48c75.zip |
Changed miss-leading comment [ci skip]
After this 21dbe6f39b57f52967e92716dbd5e2b894e7a64c
2.1.1 :001 > 'business'.classify
=> "Business"
2.1.1 :004 > 'calculus'.classify
=> "Calculu"
2.1.1 :005 >
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 eba2c2bbdb..4a05d678ea 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 # => "Business" + # 'calculus'.classify # => "Calculu" def classify(table_name) # strip out any leading schema name camelize(singularize(table_name.to_s.sub(/.*\./, ''))) |