aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Ancheta <paulo.ancheta@gmail.com>2015-12-23 15:58:50 -0800
committerPaulo Ancheta <paulo.ancheta@gmail.com>2015-12-23 15:58:50 -0800
commit66d6e7be03ee6c304bd10347518467144ccea048 (patch)
treefb7574459675092e2e86c66fb1a8547efb982427
parentc9b36dd67a1c8fe40ad76301e3929e47b0b23e1d (diff)
downloadrails-66d6e7be03ee6c304bd10347518467144ccea048.tar.gz
rails-66d6e7be03ee6c304bd10347518467144ccea048.tar.bz2
rails-66d6e7be03ee6c304bd10347518467144ccea048.zip
fix typo on comments
-rw-r--r--activesupport/lib/active_support/inflector/methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/inflector/methods.rb b/activesupport/lib/active_support/inflector/methods.rb
index 595b0339cc..f741c0bfb8 100644
--- a/activesupport/lib/active_support/inflector/methods.rb
+++ b/activesupport/lib/active_support/inflector/methods.rb
@@ -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)))