Gavin MorriceinSource DivingUnderstanding n+1 query problems in Ruby on Railsn+1 queries are a common problem in web application development. This common pattern (or antipattern) can degrade application performance…Dec 7, 20222Dec 7, 20222
Gavin MorriceinSource DivingThis Rails cache is not your friend!I recently learned that some of the assumptions I had made about one of Rails’ features were completely wrong, and this would sometimes…Sep 16, 20222Sep 16, 20222
Gavin MorriceinSource DivingHow we improved our Rails app’s performance with Conditional Get RequestsHTTP provides a method of client-side caching known as Conditional Get Requests. This style of caching allows a client to cache the content…May 31, 2022May 31, 2022
Gavin MorriceHow to host a static website on AWS S3 with automated CircleCI deploysJekyll is a framework for quickly building static HTML websites that supports SASS, reusable templates, and layouts. It’s built in Ruby…Jul 24, 2020Jul 24, 2020
Gavin MorriceA naming convention for ActionMailer emailsOne of the great things about Ruby on Rails is its philosophy of Convention over Configuration. Simply put, this means that developers are…Jul 10, 2020Jul 10, 2020
Gavin MorriceTrying to define the indefinableSpecies arguments can’t save Intelligent DesignJun 13, 2020Jun 13, 2020
Gavin MorriceGrab data from your production database using ActionMailerThis is a nasty and naughty hack, and one I’m abashedly apologetic for.May 26, 2020May 26, 2020
Gavin MorriceinThinker’s PlaygroundBeware of descriptive wordsWords that describe something, adjectives and adverbs, are often used to deliberately distort information and persuade you.Feb 13, 2020Feb 13, 2020
Gavin MorriceinThinker’s PlaygroundBook Review: The Pleasures of a Non-ConformistFeb 5, 2020Feb 5, 2020