Class: ActiveModel::MassAssignmentSecurity::WhiteList
- Inherits:
-
PermissionSet
- Object
- Set
- PermissionSet
- ActiveModel::MassAssignmentSecurity::WhiteList
- Includes:
- Sanitizer
- Defined in:
- activemodel/lib/active_model/mass_assignment_security/permission_set.rb
Instance Attribute Summary
Attributes inherited from PermissionSet
Instance Method Summary collapse
Methods included from Sanitizer
Methods inherited from PermissionSet
Instance Method Details
#deny?(key) ⇒ Boolean
27 28 29 |
# File 'activemodel/lib/active_model/mass_assignment_security/permission_set.rb', line 27 def deny?(key) !include?(key) end |