1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #14825 from arunagw/aa-remove-missleading-comment

Removed missleading comment [ci skip]
This commit is contained in:
Arun Agrawal 2014-04-20 22:59:51 +02:00
commit 7b493d40ef

View file

@ -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(/.*\./, '')))