Skip to content

Commit

Permalink
Added Access Rails Credentials Using ENV
Browse files Browse the repository at this point in the history
dalezak committed Feb 1, 2022
1 parent 7ee3235 commit cb5e5c3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -534,6 +534,17 @@ Some handy project configurations to make your life simpler.
```
</details>

<details>
<summary>Access Rails Credentials Using ENV</summary>

This [strategy](https://dev.to/dalezak/rails-environment-variables-using-credentials-mh7) adds a config initializer which lets you access your `Rails.application.credentials` using `ENV`, so your environment variables from your local environment and Heroku will both be consistent.

[This template](https://railsbytes.com/templates/Vp7s90) adds a config initializer.
```console
rails app:template LOCATION='https://railsbytes.com/script/Vp7s90'
```
</details>

<details>
<summary>Clear Development Logs</summary>

0 comments on commit cb5e5c3

Please sign in to comment.