target=(record)
public

No documentation available.

# File activerecord/lib/active_record/associations/collection_association.rb, line 288
      def target=(record)
        return super unless ActiveRecord::Base.has_many_inversing

        case record
        when Array
          super
        else
          add_to_target(record, skip_callbacks: true, replace: true)
        end
      end