class method self.schema_cache_ignored_table?

Ruby on Rails 8.1.3.1

Since v8.0.5.1

Available in: v8.0.5.1 v8.1.3.1

Signature

self.schema_cache_ignored_table?(table_name)

Checks to see if the table_name is ignored by checking against the schema_cache_ignored_tables option.

ActiveRecord.schema_cache_ignored_table?(:developers)

Parameters

table_name req
Source
# File activerecord/lib/active_record.rb, line 207
  def self.schema_cache_ignored_table?(table_name)
    ActiveRecord.schema_cache_ignored_tables.any? do |ignored|
      ignored === table_name
    end
  end

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

Defined in ActiveRecord

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close