class Frigate::Form::Synchronizer::Form

Synchronizes form properties with given params

Public Instance Methods

sync_properties_with_model_or_params(params) click to toggle source

Synchronizes given params with form properties and associations:properties @param [Hash] params

# File lib/frigate/form/synchronizer/form.rb, line 34
def sync_properties_with_model_or_params(params)
        ParamsToPropertiesSynchronizer.new(form).sync_params_with_properties(params)
end