CHANGELOG.md in activesupport-6.0.0.rc1 vs CHANGELOG.md in activesupport-6.0.0.rc2

- old
+ new

@@ -1,4 +1,28 @@ +## Rails 6.0.0.rc2 (July 22, 2019) ## + +* `truncate` would return the original string if it was too short to be truncated + and a frozen string if it were long enough to be truncated. Now truncate will + consistently return an unfrozen string regardless. This behavior is consistent + with `gsub` and `strip`. + + Before: + + 'foobar'.truncate(5).frozen? + # => true + 'foobar'.truncate(6).frozen? + # => false + + After: + + 'foobar'.truncate(5).frozen? + # => false + 'foobar'.truncate(6).frozen? + # => false + + *Jordan Thomas* + + ## Rails 6.0.0.rc1 (April 24, 2019) ## * Introduce `ActiveSupport::ActionableError`. Actionable errors let's you dispatch actions from Rails' error pages. This