instance method
strict_loaded_associations
Ruby on Rails 7.0.10
Since v7.0.10 PrivateSignature
strict_loaded_associations()
No documentation comment.
Source
# File activerecord/lib/active_record/persistence.rb, line 1014
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 1014
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Persistence