Bring back changelog entries for Active Support

Removed in 0228a73b1094a3e19ad291d2ce4789890c09578a, pull request #7310.
This commit is contained in:
Carlos Antonio da Silva 2012-08-11 00:10:11 -03:00
parent a6e0d8cfcf
commit b6e00c6764
2 changed files with 20 additions and 2 deletions

@ -1,5 +1,23 @@
## Rails 4.0.0 (unreleased) ##
* ActiveSupport::JSON::Variable is deprecated. Define your own #as_json and
#encode_json methods for custom JSON string literals.
*Erich Menge*
* Add String#indent. *fxn & Ace Suares*
* Inflections can now be defined per locale. `singularize` and `pluralize`
accept locale as an extra argument.
*David Celis*
* `Object#try` will now return nil instead of raise a NoMethodError if the
receiving object does not implement the method, but you can still get the
old behavior by using the new `Object#try!`.
*DHH*
* `ERB::Util.html_escape` now escapes single quotes. *Santiago Pastorino*
* `Time#change` now works with time values with offsets other than UTC or the local time zone. *Andrew White*

@ -37,7 +37,7 @@ def try(*a, &b)
public_send(*a, &b) if respond_to?(a.first)
end
end
# Same as #try, but will raise a NoMethodError exception if the receiving is not nil and
# does not implemented the tried method.
def try!(*a, &b)
@ -63,7 +63,7 @@ class NilClass
def try(*args)
nil
end
def try!(*args)
nil
end