From 58c83d4c6108a67ee0cf2de4ed8ea91953f98d2d Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Fri, 29 Jun 2012 21:29:14 +0200 Subject: make sure the inflection rules are loaded when cherry-picking active_support/core_ext/string/inflections.rb [fixes #6884] --- activesupport/lib/active_support/inflections.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activesupport/lib/active_support/inflections.rb') diff --git a/activesupport/lib/active_support/inflections.rb b/activesupport/lib/active_support/inflections.rb index c04c2ed15b..ca2d8cb270 100644 --- a/activesupport/lib/active_support/inflections.rb +++ b/activesupport/lib/active_support/inflections.rb @@ -1,3 +1,5 @@ +require 'active_support/inflector/inflections' + module ActiveSupport Inflector.inflections do |inflect| inflect.plural(/$/, 's') -- cgit v1.2.3