method

ordered_records

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.

ordered_records()
private

No documentation available.

# File activerecord/lib/active_record/associations/nested_error.rb, line 37
        def ordered_records
          case index_errors_setting
          when true # default is association order
            association.target
          when :nested_attributes_order
            association.nested_attributes_target
          end
        end