Class: BHM::Admin::AttrAccessibleScoping::Sanitizer
- Inherits:
-
ActiveModel::MassAssignmentSecurity::WhiteList
- Object
- ActiveModel::MassAssignmentSecurity::WhiteList
- BHM::Admin::AttrAccessibleScoping::Sanitizer
- Defined in:
- lib/bhm/admin/attr_accessible_scoping.rb
Instance Method Summary collapse
Instance Method Details
#deny?(attribute) ⇒ Boolean
56 57 58 59 |
# File 'lib/bhm/admin/attr_accessible_scoping.rb', line 56 def deny?(attribute) return false if AttrAccessibleScoping.disabled? || self.include?("all") super end |