Module: Reform::Form::Setup::Representer
- Includes:
- EmptyAttributesOptions, Representer::WithOptions
- Defined in:
- lib/reform/form.rb
Instance Method Summary collapse
Methods included from EmptyAttributesOptions
Methods included from Representer::WithOptions
Instance Method Details
#to_hash ⇒ Object
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 |