Step by step instructions for setting up Google Analytics on a Rails 5 / Turbolinks app.
It is very easy to get started with HTTP caching in Rails, but there are a few small things you need to watch out for. Handling layout changes is one of those things, and I explain how to do that in this article.
Implementing various methods of caching in Rails is relatively simple, and in most basic cases Rails handles cache invalidation out of the box or with minimal code. But when using many-to-many associations, propagating changes in one object to all its associated objects needs some setting up so that Rails can handle cache invalidation. In this article, I talk about various methods of achieving this, and why one should choose on over the other.
Rails provides a few different methods of HTTP caching out of the box, and one of them is conditional GET requests. In this article, I talk about how you can get started with using this feature in Rails.
After using Heroku for years, I wanted to give AWS Elastic Beanstalk a try. My experience during deployment was less-than-stellar, so I wrote a tutorial on deploying a Rails 5.2 / PostgreSQL app on AWS Elastic Beanstalk to help others who might be in the same situation I was.