cirandas.net

commit 99958c8da64144c7f6d0ca255f38a2881f1309ac

Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>

environments/development: configure cache store's redis host

 config/environments/development.rb | 1 +


diff --git a/config/environments/development.rb b/config/environments/development.rb
index a3af16eac792958d66e2692e78a9a721c8bef98e..176565e30781ed951564ad005471d6ba3b2a6177 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -7,6 +7,7 @@   # since you don't have to restart the webserver when you make code changes.
   config.cache_classes = false
 
   config.eager_load = true
+  config.cache_store = :redis_store, ENV.fetch("REDIS_HOST", "redis://localhost:6379/0")
 
   # Show full error reports and disable caching
   config.action_controller.perform_caching             = false