Blog Posts

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-rails
zero
postgresql functions
fx

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-rails
zero
postgresql
authentication
jwt

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-rails
authentication
oauth
google

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.js
mdx

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-rails
authentication
verification

Automating the Lifecycle of a Preview Environment

Preview Environments come and go, let's explore their lifecycle and some architectural decisions to think about when creating them.

2024-08-20
software-engineering
preview-environment

Building Dynamic Breadcrumbs in Next.js App Router

Putting the pieces together to add breadcrumbs to a Next.js App Router project via Parallel Routes.

2024-04-29
next.js
app-router
breadcrumbs

What Are Preview Environments?

An introduction to what Preview Environments are and what they're good for.

2024-04-27
software-engineering
preview-environment

Building a blog with App Router, React Server Components and Tailwind

Steps I took to build out a blog with Next.js App Router, React Server Components and Tailwind.

2024-03-28
next.js
app-router
react-server-components
tailwind

Building a new website with Next.js 14 and App Router

Detailing the process of rebuilding my website from Gatsby to Next.js.

2024-02-21
next.js
app-router