diff options
author | Jeff Latz <jeff@pumpone.com> | 2017-02-14 14:47:30 -0500 |
---|---|---|
committer | Jeff Latz <jeff@pumpone.com> | 2017-02-24 12:12:07 -0500 |
commit | a72498f776b2e67b7e3a074423181defcd06fc56 (patch) | |
tree | 0b4e055ad1ae86650cca1e51863016ae6dbd291d /activesupport/CHANGELOG.md | |
parent | 87b2b6c5124732ff709b8e1900a99ba0a08f6982 (diff) | |
download | rails-a72498f776b2e67b7e3a074423181defcd06fc56.tar.gz rails-a72498f776b2e67b7e3a074423181defcd06fc56.tar.bz2 rails-a72498f776b2e67b7e3a074423181defcd06fc56.zip |
add optional second argument to ActiveSupport core extension for Marshal#load so it can take a proc
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 0f43b1256f..b57f4501b2 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,9 @@ +* In Core Extensions, make `MarshalWithAutoloading#load` pass through the second, optional + argument for `Marshal#load( source [, proc] )`. This way we don't have to do + `Marshal.method(:load).super_method.call(sourse, proc)` just to be able to pass a proc. + + *Jeff Latz* + ## Rails 5.1.0.beta1 (February 23, 2017) ## * Cache `ActiveSupport::TimeWithZone#to_datetime` before freezing. |