Class: Reform::Form

Inherits:
Contract
  • Object
show all
Defined in:
lib/reform/form/active_model/model_reflections.rb

Overview

ModelReflections will be the interface between the form object and form builders like simple_form.

This module is meant to collect all dependencies simple_form needs in addition to the ActiveModel ones. Goal is to collect all methods and define a reflection API so simple_form works with all ORMs and Reform doesn’t have to “guess” what simple_form and other form helpers need.

Defined Under Namespace

Modules: ActiveModel, ActiveModel, ActiveRecord, Mongoid, MultiParameterAttributes, ORM Classes: UniqueValidator

Constant Summary collapse

ModelReflections =
ActiveModel::ModelReflections