From 9d1ba3755e9af6196240fc18472e2cc4fcbb4911 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 30 Oct 2011 02:08:59 -0700 Subject: fixes a typo (thanks to Alexey Vakhov) --- activesupport/lib/active_support/core_ext/string/inflections.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb index 9356940650..1e57b586d9 100644 --- a/activesupport/lib/active_support/core_ext/string/inflections.rb +++ b/activesupport/lib/active_support/core_ext/string/inflections.rb @@ -118,7 +118,7 @@ class String # "ActiveRecord::CoreExtensions::String::Inflections".demodulize # => "Inflections" # "Inflections".demodulize # => "Inflections" # - # See also +deconstatize+. + # See also +deconstantize+. def demodulize ActiveSupport::Inflector.demodulize(self) end -- cgit v1.2.3