Module: Reform::Form::Setup::Representer

Includes:
EmptyAttributesOptions, Representer::WithOptions
Defined in:
lib/reform/form.rb

Instance Method Summary collapse

Methods included from EmptyAttributesOptions

#options

Methods included from Representer::WithOptions

#from_hash, #options

Instance Method Details

#to_hashObject



155
156
157
158
159
# File 'lib/reform/form.rb', line 155

def to_hash(*)
  setup_nested_forms

  super # TODO: allow something like super(:exclude => empty_fields)
end