Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Document #behavior= and update CHANGELOG

  • Loading branch information...
commit 9608395923899e3f91e0d07ac2ed52efc17bcc40 1 parent 76cd1ca
twinturbo authored carlosantoniodasilva committed
View
2  activesupport/CHANGELOG.md
@@ -1,5 +1,7 @@
## Rails 4.0.0 (unreleased) ##
+* Add ActiveSupport::Deprecations.behavior = :slience to to completely ignore *twinturbo*
+
* Make Module#delegate stop using `send` - can no longer delegate to private methods. *dasch*
* AS::Callbacks: deprecate `:rescuable` option. *Bogdan Gusiev*
View
7 activesupport/lib/active_support/deprecation/behaviors.rb
@@ -13,6 +13,13 @@ def behavior
# Sets the behavior to the specified value. Can be a single value or an array.
#
+ # Available behaviors:
+ #
+ # [+:stderr+] Print deprecations to +$stderror+
+ # [+:log+] Send to +Rails.logger+
+ # [+:notify+] Instrument using +ActiveSupport::Notifications+
+ # [+:silence+] Do nothing
+ #
# Examples
#
# ActiveSupport::Deprecation.behavior = :stderr
Please sign in to comment.
Something went wrong with that request. Please try again.