From b2cf8b251aac39c1e3ce71bc1de34a2ce5ef52b1 Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Thu, 19 Jun 2014 12:01:03 -0600 Subject: Add `Hash#map_values` to ActiveSupport Didn't get a chance to convert existing code, I'll skim through the code base to make use of this later this afternoon. --- activesupport/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activesupport/CHANGELOG.md') diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index a2a5da4afb..efaa6cd2a3 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,8 @@ +* Add `Hash#transform_values` to simplify a common pattern where the values of a + hash must change, but the keys are left the same. + + *Sean Griffin* + * Always instrument `ActiveSupport::Cache`. Since `ActiveSupport::Notifications` only instrument items when there -- cgit v1.2.3