Use solid cache for development
All checks were successful
Ruby CI / test (pull_request) Successful in 21s

This commit is contained in:
Andrew Tomaka 2024-09-08 21:47:50 -04:00
parent f8677f8a78
commit 652f64becc
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
2 changed files with 9 additions and 3 deletions

View file

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

View file

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