Method: Reform::Form::Validate#update!

Defined in:
lib/reform/form/validate.rb

#update!(params) ⇒ Object



92
93
94
95
96
97
# File 'lib/reform/form/validate.rb', line 92

def update!(params)
  # puts "updating in #{self.class.name}"
  populate!(params)

  mapper.new(self).extend(Update).from_hash(params)
end