Module: Reform::Form::ActiveRecord
- Defined in:
- lib/reform/form/active_record.rb
Defined Under Namespace
Modules: ClassMethods Classes: UniquenessValidator
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/reform/form/active_record.rb', line 2 def self.included(base) base.class_eval do register_feature Reform::Form::ActiveRecord include Reform::Form::ActiveModel include Reform::Form::ORM extend ClassMethods end end |
Instance Method Details
#to_nested_hash ⇒ Object
21 22 23 |
# File 'lib/reform/form/active_record.rb', line 21 def to_nested_hash(*) super.with_indifferent_access end |