Re: [Rails] Rails 5.2 Custom Credentials — generally accepted way to segregate environments?

2019-06-09 Thread Ariel Juodziukynas
Rails 6 will have this feature https://github.com/rails/rails/pull/33521 For Rails 5.2, personally, I wouldn't add the file to the source control. I would do this steps: 1- run rails credentials:edit locally 2- add the credentials for production and save 3- upload the file to your hosting at /hom

[Rails] Rails 5.2 Custom Credentials — generally accepted way to segregate environments?

2019-06-09 Thread Jason Fleetwood-Boldt
In some apps I've worked on Rails 5.1 and prior, environment variables, saved directly into the source code. In rails 5.2 Custom credentials encourages us to check-in only the encrypted version of our configuration, and keep our master.key keyfile outside of our repository. My question is thi