我不确定这是否是一个bug,或者我是否缺少一个选项来指定在使用rails ActiveSupport::JSON.encode转换为JSON时如何处理嵌套散列的整数键。这个问题的例子[deprecated] I18n.enforce_available_locales will default to true in the futureIf you really want to skip validation of your local
我正在将我的项目从Rails '6.0.4.8‘升级到'6.1.6.1’。这样做破坏了我的许多rspec测试(正如我所期望的)。error message')) expected ["attribute name ^error message"] to include "error message"
显然,基于测试的类型有一些细微的变化根据我的理解,"^“应该将字符串<