method

index_errors_setting

rails latest stable - Class: ActiveRecord::Associations::NestedError

Method not available on this version

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

index_errors_setting()
private

No documentation available.

# File activerecord/lib/active_record/associations/nested_error.rb, line 28
        def index_errors_setting
          @index_errors_setting ||=
            association.options.fetch(:index_errors, ActiveRecord.index_nested_attribute_errors)
        end