Skip to content
Browse files

Changed miss-leading comment [ci skip]

After this 21dbe6f

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

2.1.1 :004 > 'calculus'.classify
 => "Calculu"
2.1.1 :005 >
  • Loading branch information...
1 parent 50b849c commit 94799eb7a2f49ec520d3718b7cb6fc4f2cc48c75 @arunagw arunagw committed Apr 20, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/inflector/methods.rb
View
2 activesupport/lib/active_support/inflector/methods.rb
@@ -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(/.*\./, '')))

0 comments on commit 94799eb

Please sign in to comment.
Something went wrong with that request. Please try again.