Blog Posts

Server Implementation Plan For Rocicorp's Zero - Custom Mutators
A language agnostic overview of what a server implementation looks like for Custom Mutators
2025-08-10
zerocustom-mutators
Controller Tests with RSpec and Rails 8 Authentication
How to authenticate a User in Controller tests when using RSpec and Rails 8 authentication.
2025-07-02
ruby-on-railsauthenticationrspectests
My Thoughts and Experiences with Vibe Coding (Mid 2025)
I've spent a bit of time doing some vibe coding and I wanted to share my thoughts about what went well and what didn't go well.
2025-05-22
aiprogrammingopinionthoughtsexperiences
GitHub CoPilot Instructions Can Catch Ruby On Rails N+1 Queries
A new feature for GitHub CoPilot, called Instructions, can be used to catch N+1 queries in Ruby on Rails applications. It can even leave comments on Pull Requests when it finds them!
2025-05-17
ruby-on-railsgithubcopilotactive-recordn+1
Preloading Nested Active Record Associations Syntax
Exploring a lesser known syntax for preloading nested Active Record associations.
2025-04-21
ruby-on-railspreloadingactive-record
Using PostgreSQL Functions with Rocicorp's Zero and Ruby on Rails
Zero updates our database directly from the UI and we can't rely on callbacks like 'before_save' when using it. Let's explore different ways to manage data requirements.
2025-02-07
ruby-on-railszeropostgresql functionsfx
Setting up Rocicorp's Zero with Ruby on Rails
Rocicorp's Zero is a sync engine to power extremely fast UI applications. I decided to pair it with Ruby on Rails and wanted to share how I got everything working.
2025-02-04
ruby-on-railszeropostgresqlauthenticationjwt
Adding Google OAuth in Rails 8
Rails 8 added an authentication generator, but what if we want to use Google OAuth? I decided to implement it using the oauth2 gem and share what I learned.
2024-12-02
ruby-on-railsauthenticationoauthgoogle
Adding Filenames To MDX Code Blocks with Next.js MDX Components
I've wanted to add filenames to my inline code blocks since I built this blog. I finally did it and got the styling just how I wanted!
2024-11-22
next.jsmdx
Adding Email Address Verification in Rails 8
Rails 8 added an authentication generator, but it stopped short of creating User records and verifying their email address. I decided to build it and share what I learned.
2024-11-21
ruby-on-railsauthenticationverification