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

fix typo on comments

This commit is contained in:
Paulo Ancheta 2015-12-23 15:58:50 -08:00
parent c9b36dd67a
commit 66d6e7be03

View file

@ -173,7 +173,7 @@ module ActiveSupport
#
# Singular names are not handled correctly:
#
# classify('calculus') # => "Calculu"
# classify('calculus') # => "Calculus"
def classify(table_name)
# strip out any leading schema name
camelize(singularize(table_name.to_s.sub(/.*\./, ''.freeze)))