Thanks for the info ☒ . On Rubidium, I'll add this to the global template generator so that others can simple ignore having to add
run 'spring stop'
but i'll have to play around with it first as if spring isn't included in the project, it could case the script to "randomly" fail. I never saw this issue as I have a dot file in my home folder which omits spring and coffeescript.
☒ In this example, the SECRECT_KEY_BASE is an environment variable and is used in the config/secrets.yml. Within AWS Beanstalk's Configuration Overview (Elastic Beanstalk > Environments > Your App > Configuration), you can create an Environment Property which is where you set the environment variables. Any environment variable set here will be available to the EC2 instances that are created.
☒ Check out the video on streaming videos where it shows how to use the controller to send the Active Storage url instead of having it embed within the view. This may help protect the link as it is then able to be authenticated and authorized via the controller. https://www.driftingruby.com/episodes/streaming-videos-with-active-storage