Rails 5.2 Secrets
Wtf happened to secrets. I woke up one day, fired up a new rails app and fucking secrets.yml is gone. Bastards.
Now they want yo secrets to be encrytped. And damn, you best be ok with fucking vi. Also if you fuck up your app and can’t load it, you can’t edit yo secrets.
Fucking didn’t like secrets.yml much in the first place cuz the name was stupid especially with working on heroku.
I’m writing this post because I figured out the damn new way to do secrets, but didn’t write it down and now I’m pissed about it agian.
This command is important if you want to save your secrets…
EDITOR=vi bin/rails credentials:edit
Differentiate by Environment, fuck DHH