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, , &extension) super(model, name, ) @block_extension = extension end |