Module: Granite::Form

Defined in:
lib/granite/form.rb,
lib/granite/form/base.rb,
lib/granite/form/util.rb,
lib/granite/form/model.rb,
lib/granite/form/config.rb,
lib/granite/form/errors.rb,
lib/granite/form/railtie.rb,
lib/granite/form/version.rb,
lib/granite/form/types/date.rb,
lib/granite/form/types/time.rb,
lib/granite/form/types/uuid.rb,
lib/granite/form/model/dirty.rb,
lib/granite/form/types/array.rb,
lib/granite/form/types/float.rb,
lib/granite/form/model/scopes.rb,
lib/granite/form/types/object.rb,
lib/granite/form/types/string.rb,
lib/granite/form/model/primary.rb,
lib/granite/form/types/boolean.rb,
lib/granite/form/types/integer.rb,
lib/granite/form/types/date_time.rb,
lib/granite/form/undefined_class.rb,
lib/granite/form/model/attributes.rb,
lib/granite/form/types/collection.rb,
lib/granite/form/types/dictionary.rb,
lib/granite/form/model/conventions.rb,
lib/granite/form/model/persistence.rb,
lib/granite/form/model/validations.rb,
lib/granite/form/types/big_decimal.rb,
lib/granite/form/types/has_subtype.rb,
lib/granite/form/model/associations.rb,
lib/granite/form/model/representation.rb,
lib/granite/form/model/attributes/base.rb,
lib/granite/form/model/associations/base.rb,
lib/granite/form/model/validations/nested.rb,
lib/granite/form/active_record/associations.rb,
lib/granite/form/model/attributes/attribute.rb,
lib/granite/form/model/attributes/represents.rb,
lib/granite/form/model/validations/associated.rb,
lib/granite/form/model/associations/embeds_any.rb,
lib/granite/form/model/associations/embeds_one.rb,
lib/granite/form/model/associations/embeds_many.rb,
lib/granite/form/model/associations/validations.rb,
lib/granite/form/model/attributes/reference_one.rb,
lib/granite/form/types/active_support/time_zone.rb,
lib/granite/form/active_record/nested_attributes.rb,
lib/granite/form/model/attributes/reference_many.rb,
lib/granite/form/model/associations/references_any.rb,
lib/granite/form/model/associations/references_one.rb,
lib/granite/form/model/attributes/reflections/base.rb,
lib/granite/form/model/associations/references_many.rb,
lib/granite/form/model/associations/collection/proxy.rb,
lib/granite/form/model/associations/reflections/base.rb,
lib/granite/form/model/associations/nested_attributes.rb,
lib/granite/form/model/associations/collection/embedded.rb,
lib/granite/form/model/attributes/reflections/attribute.rb,
lib/granite/form/model/associations/reflections/singular.rb,
lib/granite/form/model/attributes/reflections/collection.rb,
lib/granite/form/model/attributes/reflections/dictionary.rb,
lib/granite/form/model/attributes/reflections/represents.rb,
lib/granite/form/model/associations/reflections/embeds_any.rb,
lib/granite/form/model/associations/reflections/embeds_one.rb,
lib/granite/form/model/associations/reflections/embeds_many.rb,
lib/granite/form/model/attributes/reflections/reference_one.rb,
lib/granite/form/model/attributes/reflections/reference_many.rb,
lib/granite/form/model/associations/persistence_adapters/base.rb,
lib/granite/form/types/hash_with_action_controller_parameters.rb,
lib/granite/form/model/associations/reflections/references_any.rb,
lib/granite/form/model/associations/reflections/references_one.rb,
lib/granite/form/model/associations/reflections/references_many.rb,
lib/granite/form/model/associations/persistence_adapters/active_record.rb,
lib/granite/form/model/attributes/reflections/base/build_type_definition.rb,
lib/granite/form/model/attributes/reflections/collection/build_type_definition.rb,
lib/granite/form/model/attributes/reflections/dictionary/build_type_definition.rb,
lib/granite/form/model/attributes/reflections/represents/build_type_definition.rb,
lib/granite/form/model/associations/persistence_adapters/active_record/referenced_proxy.rb

Defined Under Namespace

Modules: ActiveRecord, Model, Types, Util Classes: AssociationTypeMismatch, Base, Config, Error, NormalizerMissing, NotFound, ObjectNotFound, PersistenceAdapterMissing, Railtie, TooManyObjects, TypecasterMissing, UndefinedClass, UndefinedPrimaryAttribute, ValidationError

Constant Summary collapse

VERSION =
'0.6.1'.freeze
UNDEFINED =
UndefinedClass.instance.freeze

Class Method Summary collapse

Class Method Details

.configObject



24
25
26
# File 'lib/granite/form.rb', line 24

def self.config
  Granite::Form::Config.instance
end