· software
Rails 8 Strong Parameters:双括号修复用于嵌套属性
问题:在升级到 Rails 8 时,你可能会开始使用 `params.expect`——通常是 RuboCop 的 `Rails/StrongParametersExpect` 提示的——来创建 strong‑parameter 合约……
问题:在升级到 Rails 8 时,你可能会开始使用 `params.expect`——通常是 RuboCop 的 `Rails/StrongParametersExpect` 提示的——来创建 strong‑parameter 合约……