aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-08-01 11:12:38 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-08-01 11:12:38 +0000
commit7d017781393b72a5257dbbfc99b124a7a0c492f1 (patch)
treefe08d7d97f58e320476450e0f8e450bc4a1693a9 /activesupport/CHANGELOG
parent4f017bb1b02089846fc26c873599a1026b674be5 (diff)
downloadrails-7d017781393b72a5257dbbfc99b124a7a0c492f1.tar.gz
rails-7d017781393b72a5257dbbfc99b124a7a0c492f1.tar.bz2
rails-7d017781393b72a5257dbbfc99b124a7a0c492f1.zip
Deprecation: easier to work with warning behavior as procs; default behaviors for each environment so users needn't update env.rb; and testing pleasure with assert_deprecated, assert_not_deprecated. Test prints to , dev logs, production ignores.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r--activesupport/CHANGELOG5
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG
index 01b1e6d7b9..98aa5b4468 100644
--- a/activesupport/CHANGELOG
+++ b/activesupport/CHANGELOG
@@ -1,5 +1,10 @@
*SVN*
+* Deprecation: easier to work with warning behavior as procs; default behaviors for each environment so users needn't update env.rb; and testing pleasure with assert_deprecated, assert_not_deprecated. [Jeremy Kemper]
+ By default, test prints to $stderr, dev logs, production ignores.
+ Provide your own per-environment in e.g. config/environments/development.rb:
+ ActiveSupport::Deprecation.behavior = Proc.new { |message| raise message }
+
* First cut of the Rails Deprecation system. [Koz]
* Strip boolean XML content before checking for 'true' [Rick Olson]