Although Heroku has put a lot of attention into their own Postgres-based datbase architecture, Heroku Data, this article still works for rebels who want to use Amazon RDS on Heroku:
Note that I can’t seem to get “sslca” to work as a config option in my database.yml file (in Rails), I get this I get an error after deploying, upon connection
This happens when configuring by database.yml, which I shouldn’t be doing anyway.
Nonetheless, the configuration by DATABASE_URL (which is preferred for security anyway), does actually work.
Although it continues to work in 2018, this may not be good long-term strategy as my last conversations with Heroku support led me to conclude that their failover policies for catastrophic failures aren’t set up for an RDS- backed solution unless you go into Heroku Private Spaces, which you need to be an enterprise client for.
it is still possible to host your sitemap on external S3 buckets. You must set up a subdomain of your domain pointed as an Alternative Domain Name for your CloudFront distribution, and in order to do this you must go through domain verification with AWS.
Tested codebases are the most signficiant development from Rails and Agile over the last 15 years. End-to-end testing, in particular, is the defining reason why Agile and Rails have been so successful. Not writing tests should be seen as akin to malpractice in software development. Hiring someone to write untested code should be outlawed.
Confusingly, bundler can have more than one version of Rails installed at once. In this short post, I will review how to check which version of Rails bundler has installed, and how to know which version of Rails you are using to make a new Rails app.