method

async_load_target

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

Method not available on this version

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

async_load_target()
public

No documentation available.

# File activerecord/lib/active_record/associations/association.rb, line 198
      def async_load_target # :nodoc:
        @target = find_target(async: true) if (@stale_state && stale_target?) || find_target?

        loaded! unless loaded?
        nil
      end