Skip to content

Commit

Permalink
Changed miss-leading comment [ci skip]
Browse files Browse the repository at this point in the history
After this 21dbe6f

2.1.1 :001 > 'business'.classify
 => "Business"

2.1.1 :004 > 'calculus'.classify
 => "Calculu"
2.1.1 :005 >
  • Loading branch information
arunagw committed Apr 20, 2014
1 parent 50b849c commit 94799eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/inflector/methods.rb
Expand Up @@ -155,7 +155,7 @@ def tableize(class_name)
#
# 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(/.*\./, '')))
Expand Down

0 comments on commit 94799eb

Please sign in to comment.