method

build_record

build_record(attributes, options)
private

No documentation available.

# File activerecord/lib/active_record/associations/association.rb, line 232
        def build_record(attributes, options)
          reflection.build_association(attributes, options) do |record|
            attributes = create_scope.except(*(record.changed - [reflection.foreign_key]))
            record.assign_attributes(attributes, :without_protection => true)
          end
        end