Ben Forrest·Sep 30, 2025Beyond ‘strong’ IDs: why ULID and UUID7 deserve a place in your Rails appA quest for the ideal public identifier
Ben Forrest·Jul 12, 2024How to rollback a specific previous ActiveRecord migrationYou may be familiar with this scenario:A response icon1A response icon1
Ben Forrest·Oct 5, 2020Why you should (almost) never rename your Rails database migrationsHow many times have you gone to merge your PR only to find you have a db/schema.rb conflict?A response icon1A response icon1
Ben Forrest·Sep 25, 2020Sitting comfortably? Then I’ll BegitI hope we all agree that the primary objective of clean code is to communicate the intent of our code to other humans and not to the…
Ben Forrest·Mar 27, 2019Creating Active Record scopes using Arel and DISTINCT ONActive Record scopes are pretty powerful. However, there are some operations which — on the surface — seem like they should be fairly…A response icon1A response icon1
Ben Forrest·Oct 13, 2017London tech culture; seaside chicI recently wrote this post asking if Folkestone might be poised to become a new tech hub. Because, I’d really like to build a development…
Ben Forrest·Sep 27, 2017Is Folkestone poised to become a new tech hub?If you are a growing business looking to scale your engineering team in London, you’re up against some pretty strong competition. What can…
Ben Forrest·Oct 1, 2016Rationalizing AmericanismsBe honest, we are all slightly pedantic aren’t we? It’s part of being a good programmer. We obsess over spaces vs tabs; curly brackets…
Ben Forrest·Dec 2, 2015Avoid abusing service objectsAt Makers Academy we like service objects. They are a handy way to refactor code out of fat models and fat controllers and into…