instance method strict_loaded_associations

Ruby on Rails 8.0.4

Since v7.0.10 Private

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

strict_loaded_associations()

No documentation comment.

Source
# File activerecord/lib/active_record/persistence.rb, line 820
      def strict_loaded_associations
        @association_cache.find_all do |_, assoc|
          assoc.owner.strict_loading? && !assoc.owner.strict_loading_n_plus_one_only?
        end.map(&:first)
      end

Defined in activerecord/lib/active_record/persistence.rb line 820 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Persistence

Type at least 2 characters to search.

↑↓ navigate · open · esc close