method
default_schema_cache_path
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::DatabaseConfigurations::HashConfig
default_schema_cache_path(db_dir = "db")public
No documentation available.
# File activerecord/lib/active_record/database_configurations/hash_config.rb, line 117
def default_schema_cache_path(db_dir = "db")
if primary?
File.join(db_dir, "schema_cache.yml")
else
File.join(db_dir, "#{name}_schema_cache.yml")
end
end