diff options
author | Arun Agrawal <arunagw@gmail.com> | 2014-04-20 22:59:51 +0200 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2014-04-20 22:59:51 +0200 |
commit | 7b493d40eff924e76e23804adae7b711140e5082 (patch) | |
tree | 0d6e9874c95801e4c7f1161fb0a0be4fa07606e9 | |
parent | 50b849c7e0ed04d0917f94ac9524b8c25103eee8 (diff) | |
parent | 94799eb7a2f49ec520d3718b7cb6fc4f2cc48c75 (diff) | |
download | rails-7b493d40eff924e76e23804adae7b711140e5082.tar.gz rails-7b493d40eff924e76e23804adae7b711140e5082.tar.bz2 rails-7b493d40eff924e76e23804adae7b711140e5082.zip |
Merge pull request #14825 from arunagw/aa-remove-missleading-comment
Removed missleading comment [ci skip]
-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(/.*\./, ''))) |