From d8cb94c75cfad1d1ffe23eaa9040655da56e6e4d Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 21 Mar 2009 04:15:49 -0700 Subject: Fix dangling Inflector reference --- activesupport/lib/active_support/core_ext/integer/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/integer/inflections.rb b/activesupport/lib/active_support/core_ext/integer/inflections.rb index 7a8c081b73..e81e7af436 100644 --- a/activesupport/lib/active_support/core_ext/integer/inflections.rb +++ b/activesupport/lib/active_support/core_ext/integer/inflections.rb @@ -9,6 +9,6 @@ class Integer # 1002.ordinalize # => "1002nd" # 1003.ordinalize # => "1003rd" def ordinalize - Inflector.ordinalize(self) + ActiveSupport::Inflector.ordinalize(self) end end -- cgit v1.2.3