Class: Reform::Form
- Includes:
- MultiParameterAttributes, Validate, Save, Sync
- Defined in:
- lib/reform/form.rb,
lib/reform/form/virtual_attributes.rb
Defined Under Namespace
Modules: ActiveModel, ActiveRecord, Coercion, Composition, EmptyAttributesOptions, ReadonlyAttributesOptions, Validate
Instance Attribute Summary
Attributes inherited from Contract
Instance Method Summary collapse
Methods included from Validate
Methods included from Contract::PropertyMethods
#collection, #properties, #property, #setup_form_definition
Methods included from Contract::Validate
Methods included from Contract::Setup
#create_fields, #initialize, #setup_fields
Instance Method Details
#aliased_model ⇒ Object
10 11 12 13 |
# File 'lib/reform/form.rb', line 10 def aliased_model # TODO: cache the Expose.from class! Reform::Expose.from(mapper).new(:model => model) end |