Module: ActiveRecord::AutosaveAssociation::AssociationBuilderExtension
Do not use. This module is for internal use only.
Relationships & Source Files | |
Defined in: | activerecord/lib/active_record/autosave_association.rb |
Class Method Summary
Class Method Details
.build(model, reflection)
[ GitHub ]# File 'activerecord/lib/active_record/autosave_association.rb', line 144
def self.build(model, reflection) model.send(:add_autosave_association_callbacks, reflection) end
.valid_options
[ GitHub ]# File 'activerecord/lib/active_record/autosave_association.rb', line 148
def self. [ :autosave ] end