そういう場合:without_protectionオプションを付けることでupdate_attributes、update_attributes!でも更新できる。
@user.update_attributes!({:first_name => params[:user][:first_name]}, :without_protection => true)
もちろん、やたらと使うとattr_〜が意味無くなるので、該当する属性をバリデーションを適用して更新したい場合に限って使用。タグ:Rails