method

target_for

rails latest stable - Class: ActiveRecord::Associations::Preloader::Association

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

target_for(owner)
public

No documentation available.

# File activerecord/lib/active_record/associations/preloader/association.rb, line 163
        def target_for(owner)
          Array.wrap(owner.association(reflection.name).target)
        end