class Reform::Form::Populator::Sync
Sync
(default) blindly grabs the corresponding form twin and returns it. This might imply that nil is returned, and in turn validate! is called on nil.
Public Instance Methods
call!(options)
click to toggle source
# File lib/reform/form/populator.rb, line 95 def call!(options) return options[:model][options[:index]] if options[:binding].array? options[:model] end