strong_attributes 0.0.2
strong_attributes provides a strong_parameters-style permit interface using a wrapper around your model. By accessing model attributes in your views only through this interface, you ensure that any attributes displayed are explicitly permitted, and sensitive data is not displayed to unauthorized users. This keeps your views free of authorization logic.
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
Runtime 依赖 (1):
activesupport
>= 3.0