method

index

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()
private

No documentation available.

# File activerecord/lib/active_record/associations/nested_error.rb, line 33
        def index
          @index ||= ordered_records&.find_index(inner_error.base)
        end