Module: ActiveFormModel::Permittable
- Extended by:
- ActiveSupport::Concern
- Included in:
- ActiveFormModel, Virtual
- Defined in:
- lib/active_form_model/permittable.rb
Instance Method Summary collapse
Instance Method Details
#assign_attributes(attrs = {}) ⇒ Object
43 44 45 46 |
# File 'lib/active_form_model/permittable.rb', line 43 def assign_attributes(attrs = {}) permitted_attrs = permit_attrs(attrs) super(permitted_attrs) end |
#update(attrs = {}) ⇒ Object
33 34 35 36 |
# File 'lib/active_form_model/permittable.rb', line 33 def update(attrs = {}) permitted_attrs = permit_attrs(attrs) super(permitted_attrs) end |
#update!(attrs = {}) ⇒ Object
38 39 40 41 |
# File 'lib/active_form_model/permittable.rb', line 38 def update!(attrs = {}) permitted_attrs = permit_attrs(attrs) super(permitted_attrs) end |