Method: Conformista::FormObject#update_attributes

Defined in:
lib/conformista/form_object.rb

#update_attributes(params) ⇒ Object

Delegate the hash of attributes to the presented models and save the object.

Parameters:

  • params (Hash)

See Also:



84
85
86
87
# File 'lib/conformista/form_object.rb', line 84

def update_attributes(params)
  set_attributes(params)
  save
end