Sha256: d43c720c214499e78792dc2cb1a3d9ad1ba0ce6ec11aad37cf6dd906216d8aec

Contents?: true

Size: 275 Bytes

Versions: 14

Compression:

Stored size: 275 Bytes

Contents

$redis = Redis::Namespace.new("<%= @config.app_name %>:#{Rails.env}:app", redis: Redis.new(url: "redis://#{ENV.fetch('REDIS_SERVER')}"))
$redis_root = Redis::Namespace.new("<%= @config.app_name %>:#{Rails.env}", redis: Redis.new(url: "redis://#{ENV.fetch('REDIS_SERVER')}"))

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
railman-1.0.6 templates/rails_app/config/initializers/redis.rb.tt
railman-1.0.5 templates/rails_app/config/initializers/redis.rb.tt
railman-1.0.4 templates/rails_app/config/initializers/redis.rb.tt
railman-1.0.3 templates/rails_app/config/initializers/redis.rb.tt
railman-1.0.2 templates/rails_app/config/initializers/redis.rb.tt
railman-1.0.1 templates/rails_app/config/initializers/redis.rb.tt
railman-1.0.0 templates/rails_app/config/initializers/redis.rb.tt
railman-0.6.20 templates/rails_app/config/initializers/redis.rb.tt
railman-0.6.19 templates/rails_app/config/initializers/redis.rb.tt
railman-0.6.18 templates/rails_app/config/initializers/redis.rb.tt
railman-0.6.17 templates/rails_app/config/initializers/redis.rb.tt
railman-0.6.16 templates/rails_app/config/initializers/redis.rb.tt
railman-0.6.15 templates/rails_app/config/initializers/redis.rb.tt
railman-0.6.14 templates/rails_app/config/initializers/redis.rb.tt