From bacad2a4b3fac8dd38d108397fe7722cd2969535 Mon Sep 17 00:00:00 2001 From: Pranav Raj Sreepuram Date: Thu, 15 Aug 2019 23:08:36 +0530 Subject: [PATCH] Use secret_key_base from env --- .gitignore | 2 ++ config/plans.yml | 2 +- config/secrets.yml | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d5a699c71..4dd0265d8 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,5 @@ config/database.yml *.log # Ignore application configuration node_modules + +*.rdb diff --git a/config/plans.yml b/config/plans.yml index 8f46f1c56..a00917dd4 100644 --- a/config/plans.yml +++ b/config/plans.yml @@ -13,5 +13,5 @@ inactive: free: name: 'Free' price: 0 -trial_period: 14 +trial_period: 365 default_pricing_version: 'v1' diff --git a/config/secrets.yml b/config/secrets.yml index dd395bde9..56b0c8970 100644 --- a/config/secrets.yml +++ b/config/secrets.yml @@ -19,7 +19,7 @@ test: # Do not keep production secrets in the repository, # instead read values from the environment. production: - secret_key_base: + secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> staging: - secret_key_base: + secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>