From f5b84182dbc39bea79c8ee319c688d00fa99f9d1 Mon Sep 17 00:00:00 2001 From: Teflon Ted Date: Wed, 7 May 2008 16:08:49 -0400 Subject: [PATCH] Added explanation about errant inflections not being patched in the future in order to avoid breaking legacy applications. --- activesupport/lib/active_support/inflector.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/activesupport/lib/active_support/inflector.rb b/activesupport/lib/active_support/inflector.rb index c8736549f4..68fbf3da35 100644 --- a/activesupport/lib/active_support/inflector.rb +++ b/activesupport/lib/active_support/inflector.rb @@ -3,6 +3,11 @@ require 'singleton' # The Inflector transforms words from singular to plural, class names to table names, modularized class names to ones without, # and class names to foreign keys. The default inflections for pluralization, singularization, and uncountable words are kept # in inflections.rb. +# +# The Rails core team has stated patches for the inflections library will not be accepted +# in order to avoid breaking legacy applications which may be relying on errant inflections. +# If you discover an incorrect inflection and require it for your application, you'll need +# to correct it yourself (explained below). module Inflector # A singleton instance of this class is yielded by Inflector.inflections, which can then be used to specify additional # inflection rules. Examples: