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:
parent
c9b36dd67a
commit
66d6e7be03
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ module ActiveSupport
|
||||||
#
|
#
|
||||||
# Singular names are not handled correctly:
|
# Singular names are not handled correctly:
|
||||||
#
|
#
|
||||||
# classify('calculus') # => "Calculu"
|
# classify('calculus') # => "Calculus"
|
||||||
def classify(table_name)
|
def classify(table_name)
|
||||||
# strip out any leading schema name
|
# strip out any leading schema name
|
||||||
camelize(singularize(table_name.to_s.sub(/.*\./, ''.freeze)))
|
camelize(singularize(table_name.to_s.sub(/.*\./, ''.freeze)))
|
||||||
|
|
Loading…
Reference in a new issue