Class: Filter::Sanitize

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::ForbiddenAttributesProtection
Defined in:
lib/filter/sanitize.rb

Instance Method Summary collapse

Instance Method Details

#sanitize(attributes) ⇒ Object



5
6
7
# File 'lib/filter/sanitize.rb', line 5

def sanitize(attributes)
  sanitize_for_mass_assignment(attributes)
end