user2026178
user2026178

Reputation: 318

using basic http authentication in rails,

Im using http auth in a rails app and I need to use .env files in order to keep my passwords secure.

I know I need use them and the .gitignore and .env file to do this, but I have no idea how to?

Upvotes: 0

Views: 203

Answers (1)

Tan Nguyen
Tan Nguyen

Reputation: 3376

You can use dotenv gem to save environment variables in .env. I think it's pretty easy to start.

Upvotes: 1

Related Questions