Module: DatastaxRails::AutosaveAssociation::AssociationBuilderExtension

Defined in:
lib/datastax_rails/autosave_association.rb

Overview

Extends the association builder to add autosave callbacks

Instance Method Summary collapse

Instance Method Details

#buildObject


128
129
130
131
# File 'lib/datastax_rails/autosave_association.rb', line 128

def build
  model.send(:add_autosave_association_callbacks, reflection)
  super
end