Drop Rails.application.secrets usage
That feature is gone and we already use environment variables... https://github.com/rails/rails/pull/47801
This commit is contained in:
parent
4ec9aee5da
commit
ddcd8dfc69
7 changed files with 9 additions and 89 deletions
|
|
@ -1 +1 @@
|
|||
Stripe.api_key = Rails.application.secrets.stripe_secret_key
|
||||
Stripe.api_key = ENV.fetch('STRIPE_SECRET_KEY', nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue