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.
Is the VCR plugged in? Common Sense Troubleshooting For Web Devs
In this article, you will learn how to troubleshoot web development issues by following a systematic approach, starting from the most basic components, much like checking if a VCR is plugged in. 🛠️🔌
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. 🤖✨
A Year of Lessons: Key Principles and Takeaways for a Rails Apps in 2024
In this article, you will learn how to enhance your Rails apps in 2024 with key principles like effective testing, using string enums, managing soft deletes, handling webhooks, and more. 🚀📚
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. 🚀📚
Quick drag and drop sorting with Rails using stimulus and shopify/draggable
In this article, you will learn how to implement drag-and-drop sorting in Rails using StimulusJS and Shopify Draggable. 📦✨
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. 🚀
Renaming in Rails Projects with `sed` and `find`: A Guide
In this Article, you will learn how to efficiently rename references in Rails projects using `sed` and `find`. Master these tools to streamline your refactoring process! 🚀
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. 🚀👨💻
Setting up PR previews for Rails on Render.com
In this article, you will learn how to set up PR previews for Rails apps on Render.com using environment variables and configuration files. 🚀
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.
Offer free trials without an upfront payment method using Stripe Checkout
In this article, you will learn how to use Stripe Checkout to start free trials without requiring upfront payment details. Follow step-by-step instructions to configure your server and manage subscriptions seamlessly. 🚀
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. 🚀
Standard vs. Express vs. Custom account types for Stripe Connect
In this article, you will learn how to choose between Standard, Express, and Custom account types for Stripe Connect based on integration effort and operational responsibilities. 💳
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. 🚀💻