build_record(attributes, options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.