aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-02-05 23:55:50 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-02-05 23:55:50 -0200
commit7aa4b7dc6bd6ecea1f5009c5549ea69dd59d96d4 (patch)
tree5731b1febfc059e23669075045eca0dfdc0e1c47 /activesupport
parentab51b285e2cccdc0cbdcd2daa04a7fd2fbb661ea (diff)
downloadrails-7aa4b7dc6bd6ecea1f5009c5549ea69dd59d96d4.tar.gz
rails-7aa4b7dc6bd6ecea1f5009c5549ea69dd59d96d4.tar.bz2
rails-7aa4b7dc6bd6ecea1f5009c5549ea69dd59d96d4.zip
Add CHANGELOG entry
Closes #13909
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/CHANGELOG.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index fa2f2384f9..0dc74ecd8c 100644
--- a/activesupport/CHANGELOG.md
+++ b/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