You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This also eases putting in separate credentials for development and production.
(Optional) Current Behavior
As a developer inexperienced in Ruby on Rails, I did not know how to securly store my credentials, so they ended up in the commit history.
This case can quickly happen when following the current README instructions.
Workaround
This is what I do now, after arduously pruning my commit history and having learned the proper way:
Desired Behavior
Use the rails credentials mechanism (https://web-crunch.com/posts/the-complete-guide-to-ruby-on-rails-encrypted-credentials) to load credentials by default (maybe secondary to env variables), and encourage configuration via
rails credentials:edit [--environment=ENV]
.Something like:
This also eases putting in separate credentials for development and production.
(Optional) Current Behavior
As a developer inexperienced in Ruby on Rails, I did not know how to securly store my credentials, so they ended up in the commit history.
This case can quickly happen when following the current README instructions.
Workaround
This is what I do now, after arduously pruning my commit history and having learned the proper way:
The text was updated successfully, but these errors were encountered: