Module: ActiveRecord::AutosaveAssociation::AssociationBuilderExtension
- Defined in:
- activerecord/lib/active_record/autosave_association.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.build(model, reflection) ⇒ Object
130 131 132 |
# File 'activerecord/lib/active_record/autosave_association.rb', line 130 def self.build(model, reflection) model.send(:add_autosave_association_callbacks, reflection) end |
.valid_options ⇒ Object
134 135 136 |
# File 'activerecord/lib/active_record/autosave_association.rb', line 134 def self. [ :autosave ] end |