Flowdock
method

preload_index

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: ThroughAssociation
preload_index() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/associations/preloader/through_association.rb, line 66
          def preload_index
            @preload_index ||= preloaded_records.each_with_object({}).with_index do |(record, result), index|
              result[record] = index
            end
          end
Register or log in to add new notes.