Module: MongoMapper::Plugins::StrongParameters
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/mongo_mapper/plugins/strong_parameters.rb
Instance Method Summary collapse
- #attributes=(attrs = {}) ⇒ Object
- #update_attributes(attrs = {}) ⇒ Object
- #update_attributes!(attrs = {}) ⇒ Object
Instance Method Details
#attributes=(attrs = {}) ⇒ Object
13 14 15 |
# File 'lib/mongo_mapper/plugins/strong_parameters.rb', line 13 def attributes=(attrs = {}) super sanitize_for_mass_assignment(attrs) end |
#update_attributes(attrs = {}) ⇒ Object
17 18 19 |
# File 'lib/mongo_mapper/plugins/strong_parameters.rb', line 17 def update_attributes(attrs = {}) super sanitize_for_mass_assignment(attrs) end |
#update_attributes!(attrs = {}) ⇒ Object
21 22 23 |
# File 'lib/mongo_mapper/plugins/strong_parameters.rb', line 21 def update_attributes!(attrs = {}) super sanitize_for_mass_assignment(attrs) end |