Hi! I've got a question regarding secrets.yml. I am fairly new to rails, I did help in a project once (learning by doing) and I've worked through the Railstutorial online book - so this question might be dumb ;) My question is as follows: How does rails in production know how to set the secret_key_base? Because in the secrets.yml it's just read from ENV, so as of my understanding the rails server must somehow generate a key, musn't i
Now if it does, this must be a reproducable step, which renders the secret key base useless. If it doesn't what exactly happens? Having a new key every time would render old cookies useless... Do I have to manually insert it into env, every time the server restarts?