8.1.3
- Rails 近 90 天出现 4 次
- Rails 近 90 天第 4 次发版
发生了什么
Active Support Fix JSONGemCoderEncoder to correctly serialize custom object hash keys. When hash keys are custom objects whose as_json returns a Hash, the encoder now calls to_s on the original key object instead of on the as_json result. Before: hash = {CustomKey.new(123) => "value"} hash.to_json # => {"{:id=>123}":"value"} After: hash.to_json # => {"custom_123":"value"} Dan Sharp Fix inflections to better handle o…
摘要按规则整理自下方来源原文