instance method tables_to_cache

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

tables_to_cache(pool)

No documentation comment.

Parameters

pool req
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

Defined in ActiveRecord::ConnectionAdapters::SchemaCache

Type at least 2 characters to search.

↑↓ navigate · open · esc close