aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorTeflon Ted <github@rudiment.net>2008-05-07 16:08:49 -0400
committerTeflon Ted <github@rudiment.net>2008-05-07 16:08:49 -0400
commitf5b84182dbc39bea79c8ee319c688d00fa99f9d1 (patch)
tree7171bdfe3f6ddade304ebf719ffd220c78ba808e /activesupport
parentc434d206f15ec1df92070294bfa41931cd9b11bb (diff)
downloadrails-f5b84182dbc39bea79c8ee319c688d00fa99f9d1.tar.gz
rails-f5b84182dbc39bea79c8ee319c688d00fa99f9d1.tar.bz2
rails-f5b84182dbc39bea79c8ee319c688d00fa99f9d1.zip
Added explanation about errant inflections not being patched in the future in order to avoid breaking legacy applications.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/inflector.rb5
1 files changed, 5 insertions, 0 deletions
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: