method

_new

rails latest stable - Class: ActiveRecord

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

_new(attributes, &block)
private

No documentation available.

# File activerecord/lib/active_record/association_relation.rb, line 31
      def _new(attributes, &block)
        @association.build(attributes, &block)
      end