Module: ActiveRecord::AssociatedObject::ObjectAssociation

Defined in:
lib/active_record/associated_object/object_association.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



2
# File 'lib/active_record/associated_object/object_association.rb', line 2

def self.included(klass) = klass.extend(ClassMethods)

Instance Method Details

#init_internalsObject



31
32
33
34
# File 'lib/active_record/associated_object/object_association.rb', line 31

def init_internals
  @associated_objects = nil
  super
end