Method: Frigate::Form::Synchronizer::Basic#sync_with_model

Defined in:
lib/frigate/form/synchronizer/basic.rb

#sync_with_model(opts = {}) ⇒ Boolean

Synchronizes given params with given model

Parameters:

  • opts (Hash) (defaults to: {})

Returns:

  • (Boolean)

    true



54
55
56
# File 'lib/frigate/form/synchronizer/basic.rb', line 54

def sync_with_model(opts={})
  ModelSynchronizer.new(form).sync_with_model(opts)
end