Module: Reform::Form::Validate

Included in:
Reform::Form
Defined in:
lib/reform/form/validate.rb

Overview

Mechanics for writing to forms in #validate.

Defined Under Namespace

Modules: Populator, Update

Instance Method Summary collapse

Instance Method Details

#update!(params) ⇒ Object



95
96
97
98
# File 'lib/reform/form/validate.rb', line 95

def update!(params)
  populate!(params)
  deserialize!(params)
end

#validate(params) ⇒ Object



89
90
91
92
93
# File 'lib/reform/form/validate.rb', line 89

def validate(params)
  update!(params)

  super()
end