Play with solid_cache #34

Merged
atomaka merged 2 commits from solid-cache into main 2024-09-08 21:51:16 -04:00
2 changed files with 9 additions and 3 deletions
Showing only changes of commit 652f64becc - Show all commits

View file

@ -10,8 +10,14 @@ default: &default
timeout: 5000
development:
primary:
<<: *default
database: db/development.sqlite3
cache:
<<: *default
database: db/development_cache.sqlite3
migrations_paths: db/cache_migrate
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".

View file

@ -28,7 +28,7 @@ Rails.application.configure do
end
# Change this to :null_store to avoid any caching
config.cache_store = :memory_store
config.cache_store = :solid_cache_store
# Store uploaded files on the local file system (see config/storage.yml for options).
config.active_storage.service = :local