Method: ActiveRecord::Associations::Builder::CollectionAssociation#initialize

Defined in:
activerecord/lib/active_record/associations/builder/collection_association.rb

#initialize(model, name, options, &extension) ⇒ CollectionAssociation

Returns a new instance of CollectionAssociation.



16
17
18
19
# File 'activerecord/lib/active_record/associations/builder/collection_association.rb', line 16

def initialize(model, name, options, &extension)
  super(model, name, options)
  @block_extension = extension
end