method
schema_cache_env
rails latest stable - Class:
ActiveRecord::Tasks::DatabaseTasks
schema_cache_env()private
No documentation available.
# 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