instance method default_schema_cache_path

Ruby on Rails 8.0.4

Since v7.0.10

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

default_schema_cache_path(db_dir = "db")

No documentation comment.

Parameters

db_dir opt = "db"
Source
# 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

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

Defined in ActiveRecord::DatabaseConfigurations::HashConfig

Type at least 2 characters to search.

↑↓ navigate · open · esc close