Writing on web development, API integrations, and the payments industry.

Long-form thoughts on programming, learning, productivity, and more, collected in chronological order. Mostly notes to myself about how I solved something so I can remember later.

A Flexible AI Integration Pattern for Ruby on Rails

In this article, you will learn how to integrate AI into your Ruby on Rails applications using a flexible pattern that allows easy swapping of AI providers like OpenAI and Claude. 🤖✨

Caching ViewComponents

In this article, you will learn how to implement caching for ViewComponents in Rails to improve performance and reduce sluggishness in your app. 🚀📚

Rails Performance Playbook

In this Article, you will learn how to optimize Ruby on Rails performance through backend and frontend techniques, including N+1 query fixes, caching, database indexing, and more. 🚀

How to setup react-rails with esbuild

In this article, you will learn how to set up `react-rails` with `esbuild` for a seamless integration of React components into a Rails application. 🚀👨‍💻

Stripe Connect onboarding with Ruby on Rails

In this article, you will learn how to integrate Stripe Connect Onboarding with Ruby on Rails for an email newsletter platform. 📧💻 Discover how to create Stripe Accounts, collect business details, and set up your Rails environment for smooth integration.

Handling webhooks for Stripe Connect

In this article, you will learn how to handle Stripe Connect webhooks to automate tasks like onboarding and payments. 🛠️ Discover best practices, setup steps, and testing tips using the Stripe CLI.

Taking a cut with Stripe Connect

In this article, you will learn how to collect commissions using Stripe Connect. Discover four primary methods: application fees, smaller transfers, account debits, and recurring payments. 💰📈

Picking the right charge type for your Stripe Connect platform

In this article, you will learn how to choose the right charge type for your Stripe Connect platform. We'll cover Direct, Destination, and Separate Charges and Transfers (SCT), comparing their features, use cases, and potential pitfalls. 🚀

Pass data through Stripe payment links

In this article, you will learn how to pass data through Stripe payment links using `client_reference_id`, Checkout Session ID placeholders, and UTM query parameters. 💳📊

How I start Django apps in 2022

In this article, you will learn how to set up a Django application in 2022 with Tailwind, authentication, and payments. 🚀 Follow step-by-step instructions to scaffold your environment, integrate Tailwind, implement user authentication, and handle payments using dj-stripe.

Stripe API from Airtable Scripts

In this article, you will learn how to integrate Stripe's API with Airtable Scripts using custom JavaScript. Supercharge your no-code solutions! 🚀

Handling Stripe Webhooks with Rails

In this article, you will learn how to handle Stripe webhooks in a Rails application by setting up a webhook controller, configuring routes, and verifying webhook signatures. 🚀💻

.NET Minimal API patterns for Code Samples

In this article, you will learn how to use .NET Minimal APIs for creating code samples, including serving static files, parsing JSON, and handling exceptions. 🚀