From ec9a89cb8be037cde2466a5347ea5c4ec648a4c3 Mon Sep 17 00:00:00 2001 From: Gannon McGibbon Date: Sun, 3 Jun 2018 19:42:07 -0400 Subject: Add deprecation warning when String#first and String#last receive negative integers [Gannon McGibbon + Eric Turner] --- activesupport/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activesupport/CHANGELOG.md') diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 3a348a26bf..fd96c46814 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,7 @@ +* Deprecate using negative limits in `String#first` and `String#last`. + + *Gannon McGibbon*, *Eric Turner* + * Fix bug where `#without` for `ActiveSupport::HashWithIndifferentAccess` would fail with symbol arguments -- cgit v1.2.3