instance method
tables_to_cache
Ruby on Rails 7.2.3
Since v7.0.10 PrivateSignature
tables_to_cache(pool)
No documentation comment.
Parameters
-
poolreq
Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 428
def tables_to_cache(pool)
pool.with_connection do |connection|
connection.data_sources.reject do |table|
ignored_table?(table)
end
end
end
Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 428
· View on GitHub
· Improve this page
· Find usages on GitHub