Module: Reform::Form::Sync::SyncHash

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

Overview

API: semi-public.

Instance Method Summary collapse

Instance Method Details

#sync_hash(options) ⇒ Object

This hash goes into the Writer that writes properties back to the model. It only contains “writeable” attributes.



80
81
82
# File 'lib/reform/form/sync.rb', line 80

def sync_hash(options)
  input_representer.new(fields).to_hash(options)
end