Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add CHANGELOG entry

Closes #13909
  • Loading branch information...
commit 7aa4b7dc6bd6ecea1f5009c5549ea69dd59d96d4 1 parent ab51b28
@rafaelfranca rafaelfranca authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 activesupport/CHANGELOG.md
View
14 activesupport/CHANGELOG.md
@@ -1,3 +1,17 @@
+* Fix `to_param` behavior when there are nested empty hashes.
+
+ Before:
+
+ params = {c: 3, d: {}}.to_param # => "&c=3"
+
+ After:
+
+ params = {c: 3, d: {}}.to_param # => "c=3&d="
+
+ Fixes #13892.
+
+ *Hincu Petru*
+
* Deprecate custom `BigDecimal` serialization
Deprecate the custom `BigDecimal` serialization that is included when requiring
Please sign in to comment.
Something went wrong with that request. Please try again.