diff options
author | Richard Schneeman <richard.schneeman@gmail.com> | 2015-12-23 23:05:00 -0500 |
---|---|---|
committer | Richard Schneeman <richard.schneeman@gmail.com> | 2015-12-23 23:05:00 -0500 |
commit | 7aa047b57237f691540afc3e22b91f73df7e5bc4 (patch) | |
tree | fb7574459675092e2e86c66fb1a8547efb982427 | |
parent | c9b36dd67a1c8fe40ad76301e3929e47b0b23e1d (diff) | |
parent | 66d6e7be03ee6c304bd10347518467144ccea048 (diff) | |
download | rails-7aa047b57237f691540afc3e22b91f73df7e5bc4.tar.gz rails-7aa047b57237f691540afc3e22b91f73df7e5bc4.tar.bz2 rails-7aa047b57237f691540afc3e22b91f73df7e5bc4.zip |
Merge pull request #22780 from pauloancheta/master
Fix typo on documentation
-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))) |