method

build

rails latest stable - Class: ActiveRecord::Associations::Builder::CollectionAssociation

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

build()
public

No documentation available.

# File activerecord/lib/active_record/associations/builder/collection_association.rb, line 20
    def build
      show_deprecation_warnings
      wrap_block_extension
      reflection = super
      CALLBACKS.each { |callback_name| define_callback(callback_name) }
      reflection
    end