Class: ActiveModel::MassAssignmentSecurity::PermissionSet
- Defined in:
- activemodel/lib/active_model/mass_assignment_security/permission_set.rb
Instance Method Summary collapse
Instance Method Details
#+(values) ⇒ Object
7 8 9 |
# File 'activemodel/lib/active_model/mass_assignment_security/permission_set.rb', line 7 def +(values) super(values.map(&:to_s)) end |
#deny?(key) ⇒ Boolean
15 16 17 |
# File 'activemodel/lib/active_model/mass_assignment_security/permission_set.rb', line 15 def deny?(key) raise NotImplementedError, "#deny?(key) suppose to be overwritten" end |
#include?(key) ⇒ Boolean
11 12 13 |
# File 'activemodel/lib/active_model/mass_assignment_security/permission_set.rb', line 11 def include?(key) super(remove_multiparameter_id(key)) end |