diff options
author | Paulo Ancheta <paulo.ancheta@gmail.com> | 2015-12-23 15:58:50 -0800 |
---|---|---|
committer | Paulo Ancheta <paulo.ancheta@gmail.com> | 2015-12-23 15:58:50 -0800 |
commit | 66d6e7be03ee6c304bd10347518467144ccea048 (patch) | |
tree | fb7574459675092e2e86c66fb1a8547efb982427 | |
parent | c9b36dd67a1c8fe40ad76301e3929e47b0b23e1d (diff) | |
download | rails-66d6e7be03ee6c304bd10347518467144ccea048.tar.gz rails-66d6e7be03ee6c304bd10347518467144ccea048.tar.bz2 rails-66d6e7be03ee6c304bd10347518467144ccea048.zip |
fix typo on comments
-rw-r--r-- | activesupport/lib/active_support/inflector/methods.rb | 2 |
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))) |