class method self.schema_cache_ignored_table?

Ruby on Rails 8.1.2

Since v8.0.4

Available in: v8.0.4 v8.1.2

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.

↑↓ navigate · open · esc close