diff options
author | Xavier Noria <fxn@hashref.com> | 2013-08-12 23:23:21 +0000 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-08-13 01:27:18 +0200 |
commit | 73aad75f5665607e1abc2cf0a69460a923bbd571 (patch) | |
tree | 79f528f24975a4ec2a0458c73d6ff7484045d040 /activesupport/CHANGELOG.md | |
parent | 1577d9661a9ee0268d9f101c6c7f6435a87e8de0 (diff) | |
download | rails-73aad75f5665607e1abc2cf0a69460a923bbd571.tar.gz rails-73aad75f5665607e1abc2cf0a69460a923bbd571.tar.bz2 rails-73aad75f5665607e1abc2cf0a69460a923bbd571.zip |
defines a new :abort deprecation behaviour that raises
See the CHANGELONG message in the patch for further details.
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index be97b744c8..39f49e4ab1 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,15 @@ +* Adds a new deprecation behaviour that aborts the application. Throwing this + line into +config/environments/development.rb+ + + ActiveSupport::Deprecation.behavior = :abort + + will cause the application to raise an +ActiveSupport::DeprecationException+ + on deprecations. + + Use this for agressive deprecation cleanups. + + *Xavier Noria* + * Remove 'cow' => 'kine' irregular inflection from default inflections. *Andrew White* |