访问被拒绝,你可能没有权限或未登录。

Rails Rails 4.0 將分離 attr_accessible,而預設改用 strong_parameters

xdite · August 14, 2012 · Last by ery replied at August 14, 2012 · 2701 hits

https://twitter.com/dhh/status/235071205886017536

from @dhh

@jimweirich Also of note, we're splitting off attr_accessible and friends from Rails 4.0. New recommended approach is strong parameters.
You need to Sign in before reply, if you don't have an account, please Sign up first.