InSource DivingbyGavin Morrice·Dec 7, 2022Understanding 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…A response icon2A response icon2
InSource DivingbyGavin Morrice·Sep 16, 2022This 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…A response icon3A response icon3
InSource DivingbyGavin Morrice·May 31, 2022How 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…
Gavin Morrice·Jul 24, 2020How 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…
Gavin Morrice·Jul 10, 2020A 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…
Gavin Morrice·Jun 13, 2020Trying to define the indefinableSpecies arguments can’t save Intelligent Design
Gavin Morrice·May 26, 2020Grab data from your production database using ActionMailerThis is a nasty and naughty hack, and one I’m abashedly apologetic for.
InThinker’s PlaygroundbyGavin Morrice·Feb 13, 2020Beware of descriptive wordsWords that describe something, adjectives and adverbs, are often used to deliberately distort information and persuade you.