![](/img/trans.png)
[英]attr_protected equivalent for Rails 6? gem protected_attributes needs activemodel < 5.0 and hence is not compatible for rails 6
為 Rails 6 搜索“attr_protected”等價物 gem protected_attributes 從 rails 4 開始就起到了作用,需要 activemodel < 5.0,因此不能解決 rails 6 的問題。 實現該行為的任何替代方案或更好的解決方案? ...