Method: Reform::Form::Validate#validate
- Defined in:
- lib/reform/form/validate.rb
#validate(params) ⇒ Object
-
Populate the form object graph so that each incoming object has a representative form object.
-
Deserialize. This is wrong and should be done in 1.
-
Validate the form object graph.
79 80 81 82 83 |
# File 'lib/reform/form/validate.rb', line 79 def validate(params) update!(params) super() # run the actual validation on self. end |