instance method schema_cache_env

Ruby on Rails 7.2.3

Since v7.2.3 Last seen in v7.2.3 Private

Signature

schema_cache_env()

No documentation comment.

Source
# File activerecord/lib/active_record/tasks/database_tasks.rb, line 550
        def schema_cache_env
          if ENV["SCHEMA_CACHE"]
            ActiveRecord.deprecator.warn(<<~MSG.squish)
              Setting `ENV["SCHEMA_CACHE"]` is deprecated and will be removed in Rails 8.0.
              Configure the `:schema_cache_path` in the database configuration instead.
            MSG

            nil
          end
        end

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

Defined in ActiveRecord::Tasks::DatabaseTasks

Type at least 2 characters to search.

↑↓ navigate · open · esc close