Module: FormObject::Integrations::ActiveRecord

Includes:
ActiveModel, Base
Defined in:
lib/form_object/integrations/active_record.rb,
lib/form_object/integrations/active_record/versions.rb

Instance Attribute Summary

Attributes included from Base::ClassMethods

#defaults

Class Method Summary collapse

Methods included from ActiveModel

#assign_form_object_attributes, #form_object_attributes, included, maching_ancestors

Methods included from Base

included

Methods included from Base::ClassMethods

#assign_model_attributes, #avaliable?, #extended, #integration_name, #matches?, #matches_ancestors?, #matching_ancestors, #version, #versions

Class Method Details

.extended(base) ⇒ Object

:nodoc:



13
14
15
16
# File 'lib/form_object/integrations/active_record.rb', line 13

def self.extended( base ) #:nodoc:
  require 'active_record/version'
  super
end

.matching_ancestorsObject



18
19
20
# File 'lib/form_object/integrations/active_record.rb', line 18

def self.matching_ancestors
  %w{ActiveRecord::Base}
end