Permalink
Browse files

[ci-skip] correct the classify example's output

  • Loading branch information...
1 parent 86b0282 commit 21dbe6f39b57f52967e92716dbd5e2b894e7a64c @kuldeepaggarwal kuldeepaggarwal 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 # => "Busines"
+ # 'business'.classify # => "Business"
def classify(table_name)
# strip out any leading schema name
camelize(singularize(table_name.to_s.sub(/.*\./, '')))

0 comments on commit 21dbe6f

Please sign in to comment.