2013-07-03 13:46:01 -04:00
|
|
|
* Remove deprecated `String#encoding_aware?` core extensions (`core_ext/string/encoding`).
|
|
|
|
|
|
|
|
*Arun Agrawal*
|
|
|
|
|
2013-07-03 13:42:34 -04:00
|
|
|
* Remove deprecated `Module#local_constant_names` in favor of `Module#local_constants`.
|
|
|
|
|
|
|
|
*Arun Agrawal*
|
|
|
|
|
2013-07-03 13:40:24 -04:00
|
|
|
* Remove deprecated `DateTime.local_offset` in favor of `DateTime.civil_from_fromat`.
|
|
|
|
|
|
|
|
*Arun Agrawal*
|
|
|
|
|
2013-07-02 22:37:31 -04:00
|
|
|
* Remove deprecated `Logger` core extensions (`core_ext/logger.rb`).
|
|
|
|
|
|
|
|
*Carlos Antonio da Silva*
|
|
|
|
|
2013-07-03 01:08:37 -04:00
|
|
|
* Remove deprecated `Time#time_with_datetime_fallback`, `Time#utc_time`
|
|
|
|
and `Time#local_time` in favor of `Time#utc` and `Time#local`.
|
|
|
|
|
|
|
|
*Vipul A M*
|
|
|
|
|
2013-07-02 22:28:56 -04:00
|
|
|
* Remove deprecated `Hash#diff` with no replacement.
|
|
|
|
|
|
|
|
If you're using it to compare hashes for the purpose of testing, please use
|
|
|
|
MiniTest's `assert_equal` instead.
|
|
|
|
|
|
|
|
*Carlos Antonio da Silva*
|
|
|
|
|
2013-07-03 05:52:52 -04:00
|
|
|
* Remove deprecated `Date#to_time_in_current_zone` in favor of `Date#in_time_zone`.
|
2013-07-01 23:48:08 -04:00
|
|
|
|
|
|
|
*Vipul A M*
|
|
|
|
|
2013-07-01 21:38:28 -04:00
|
|
|
* Remove deprecated `Proc#bind` with no replacement.
|
|
|
|
|
|
|
|
*Carlos Antonio da Silva*
|
|
|
|
|
2013-07-01 21:33:42 -04:00
|
|
|
* Remove deprecated `Array#uniq_by` and `Array#uniq_by!`, use native
|
|
|
|
`Array#uniq` and `Array#uniq!` instead.
|
|
|
|
|
|
|
|
*Carlos Antonio da Silva*
|
|
|
|
|
2013-07-01 21:26:54 -04:00
|
|
|
* Remove deprecated `ActiveSupport::BasicObject`, use `ActiveSupport::ProxyObject` instead.
|
|
|
|
|
|
|
|
*Carlos Antonio da Silva*
|
|
|
|
|
2013-07-01 16:15:33 -04:00
|
|
|
* Remove deprecated `BufferedLogger`.
|
|
|
|
|
|
|
|
*Yves Senn*
|
|
|
|
|
2013-07-01 16:06:26 -04:00
|
|
|
* Remove deprecated `assert_present` and `assert_blank` methods.
|
|
|
|
|
|
|
|
*Yves Senn*
|
|
|
|
|
2013-06-20 08:51:01 -04:00
|
|
|
* Fix return value from `BacktraceCleaner#noise` when the cleaner is configured
|
|
|
|
with multiple silencers.
|
|
|
|
|
|
|
|
Fixes #11030
|
|
|
|
|
|
|
|
*Mark J. Titorenko*
|
|
|
|
|
2013-06-14 18:53:58 -04:00
|
|
|
* `HashWithIndifferentAccess#select` now returns a `HashWithIndifferentAccess`
|
2013-06-14 16:56:49 -04:00
|
|
|
instance instead of a `Hash` instance.
|
|
|
|
|
|
|
|
Fixes #10723
|
|
|
|
|
|
|
|
*Albert Llop*
|
|
|
|
|
2013-06-13 07:01:12 -04:00
|
|
|
* Add `DateTime#usec` and `DateTime#nsec` so that `ActiveSupport::TimeWithZone` keeps
|
|
|
|
sub-second resolution when wrapping a `DateTime` value.
|
2013-06-14 16:56:49 -04:00
|
|
|
|
2013-06-13 07:01:12 -04:00
|
|
|
Fixes #10855
|
|
|
|
|
|
|
|
*Andrew White*
|
|
|
|
|
2013-03-03 08:50:59 -05:00
|
|
|
* Fix `ActiveSupport::Dependencies::Loadable#load_dependency` calling
|
|
|
|
`#blame_file!` on Exceptions that do not have the Blamable mixin
|
|
|
|
|
|
|
|
*Andrew Kreiling*
|
|
|
|
|
2013-06-08 03:22:29 -04:00
|
|
|
* Override `Time.at` to support the passing of Time-like values when called with a single argument.
|
|
|
|
|
|
|
|
*Andrew White*
|
|
|
|
|
2013-05-29 02:43:35 -04:00
|
|
|
* Prevent side effects to hashes inside arrays when
|
|
|
|
`Hash#with_indifferent_access` is called.
|
2013-06-14 16:56:49 -04:00
|
|
|
|
2013-05-29 02:43:35 -04:00
|
|
|
Fixes #10526
|
|
|
|
|
|
|
|
*Yves Senn*
|
|
|
|
|
2013-05-16 14:11:27 -04:00
|
|
|
* Raise an error when multiple `included` blocks are defined for a Concern.
|
|
|
|
The old behavior would silently discard previously defined blocks, running
|
|
|
|
only the last one.
|
|
|
|
|
|
|
|
*Mike Dillon*
|
|
|
|
|
2013-05-12 14:04:05 -04:00
|
|
|
* Replace `multi_json` with `json`.
|
|
|
|
|
2013-05-12 14:16:32 -04:00
|
|
|
Since Rails requires Ruby 1.9 and since Ruby 1.9 includes `json` in the standard library,
|
2013-05-12 14:04:05 -04:00
|
|
|
`multi_json` is no longer necessary.
|
|
|
|
|
|
|
|
*Erik Michaels-Ober*
|
|
|
|
|
2013-05-09 08:41:56 -04:00
|
|
|
* Added escaping of U+2028 and U+2029 inside the json encoder.
|
|
|
|
These characters are legal in JSON but break the Javascript interpreter.
|
|
|
|
After escaping them, the JSON is still legal and can be parsed by Javascript.
|
|
|
|
|
2013-05-10 13:39:29 -04:00
|
|
|
*Mario Caropreso + Viktor Kelemen + zackham*
|
2013-05-09 08:41:56 -04:00
|
|
|
|
2013-05-07 15:11:52 -04:00
|
|
|
* Fix skipping object callbacks using metadata fetched via callback chain
|
|
|
|
inspection methods (`_*_callbacks`)
|
|
|
|
|
|
|
|
*Sean Walbran*
|
|
|
|
|
2013-04-15 10:41:27 -04:00
|
|
|
* Add a `fetch_multi` method to the cache stores. The method provides
|
|
|
|
an easy to use API for fetching multiple values from the cache.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
# Calculating scores is expensive, so we only do it for posts
|
|
|
|
# that have been updated. Cache keys are automatically extracted
|
|
|
|
# from objects that define a #cache_key method.
|
|
|
|
scores = Rails.cache.fetch_multi(*posts) do |post|
|
|
|
|
calculate_score(post)
|
|
|
|
end
|
|
|
|
|
|
|
|
*Daniel Schierbeck*
|
2013-02-26 11:45:20 -05:00
|
|
|
|
2013-04-29 12:06:45 -04:00
|
|
|
Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/activesupport/CHANGELOG.md) for previous changes.
|