Feb 20, 2023
A more targeted approach to connecting to readonly replica database instances
rails
db
replica
activerecord
Apr 9, 2022
Testing libs against a totally fake record
rails
rspec
mock
fake
testing
Apr 9, 2022
Ensuring singleton execution in a distributed system
Apr 9, 2022
Standardize a few common things we want from Enums using a simple DSL
Apr 3, 2022
How OOP benefits the scripts in your application
rails
cron
OOP
OOD
patterns
Mar 20, 2022
What to do when you application outgrows your framework
rails
organization
patterns
Mar 19, 2022
When you don't have a CD pipeline, at least you can be nagged about it
Dec 4, 2021
How to use Rails' helper methods useable outside of ActionView
Nov 14, 2021
Yes, the Open/Closed principle *can* be applied in a Rails app! Here's an example.
Aug 14, 2021
Part 2: Hacking around uniqueness validations
rails
rspec
factory_bot
ruby
gem
rubygems
Aug 14, 2021
Part 1: The main guts of the FactoryBurgers gem
rails
rspec
factory_bot
ruby
gem
rubygems
May 30, 2021
Using Rack middleware in a Gem to serve assets from a React build
rails
rack
ruby
gem
rubygems
middleware
html
Apr 23, 2021
Exploring the basics of Rack middleware in order to respond with static HTML
rails
rack
middleware
html
Mar 21, 2021
Useful before and after hooks to rake
Feb 21, 2021
Resist that voice telling you 'there has to be more to this'
Nov 22, 2020
It's Enumerators, all the way down.
Nov 21, 2019
Replicating a neat feature of another language
Oct 27, 2019
A relatable thought experiment on log search efficiency
Oct 5, 2019
Nil, Null, None, and Noel, Born is the King of Code Smell
Sep 29, 2019
Prove me wrong
Sep 22, 2019
How class methods in Ruby totally explain the "singleton class" thing
Ruby
Metaprogramming
Methods
Sep 21, 2019
Using a timeout fallback for a Javascript promise that takes too long
Sep 20, 2019
Binding and unbinding methods in Ruby
Ruby
Metaprogramming
Methods
Binding
Sep 15, 2019
Understanding stale updates and closures
React
closures
async
memory
Sep 12, 2019
Communicating across Slack workspaces using cloud functions
slack
google cloud functions
lambda
serverless
javascript
async
promises
Jul 18, 2019
A simple generator demo to build a group_by function
python
iterator
generator
May 6, 2019
A step-by-step walkthrough using AWS CloudFormation to build a machine vision pipeline
AWS
CloudFormation
Serverless
Apr 20, 2019
A Git shim feat. Salt-N-Pepa
Apr 16, 2019
Seeking to a time in a video of a sibling component
Mar 29, 2019
Waiting for an external signal using Promises
Nov 23, 2018
Enumerating over a custom sub-structure of a list
Nov 23, 2018
A re-exploration of what this phrase actually means
Oct 11, 2018
Declare a method interface for Ruby classes
Nov 22, 2017
Easily end a controller action without risking the double render error
Oct 16, 2017
Create an enumerator that seamlessly iterates over individual items fetched in pages
Ruby
Enumerator
Pagination
Oct 5, 2017
Making the case for Rails to a non-Rails developer
Mar 30, 2017
A rant about some decisions in Rails
Jan 9, 2017
Git techniques to deal with rebase hell
Sep 21, 2016
Using Arel to join to a subtype of an STI model
Rails
Arel
Single Table Inheritance
Jul 28, 2016
How Ruby encourages bad OOP design
Jun 3, 2016
MySQL-dependent efficient bulk create for ActiveRecord models
Jun 3, 2016
Modify a core class ... secretly
Apr 22, 2016
Fully featured joining to subtypes of polymorphic associations
Rails
ActiveRecord
Polymorphism
Apr 18, 2016
If it quacks, does it really quack like a duck?
Apr 12, 2016
An easy gem to avoid db queries for lookup tables
Apr 9, 2016
Perform LEFT OUTER JOIN using Arel in Rail 4
Apr 8, 2016
Using middleware to tighten staging environment security