A faster way to copy SQLite databases between computers

Dumping a SQLite database to a text file can make it much smaller, which means you can download it faster.

#database#DevOps#Ruby on Rails
Added: 9 May 2025
Active Storage & Form Errors: Preventing Lost File Uploads in Rails

Rails' Active Storage makes file uploads easy, but validation errors can cause attachments to be lost when forms re-render. This guide explains why and walks through a step-by-step solution using direct uploads, signed IDs, and Stimulus for an improved user experience.

#Ruby on Rails
Added: 9 May 2025
Why developers and their bosses disagree over generative AI

How to fix the disconnect over generative AI adoption and developer productivity.

#AI#Consulting
Added: 9 May 2025
Secure Coding in Ruby on Rails | Security Articles

A comprehensive guide to securing your Ruby on Rails applications

#Ruby on Rails
Added: 29 Apr 2025
The One-Person Framework in practice

How I built a seven-figure business with Rails

#Consulting#Ruby on Rails
Added: 29 Apr 2025
Give it time

Modeling your domain as timelines instead of object graphs

#Backend#Design#Ruby on Rails
Added: 29 Apr 2025
Don't Steal a Penguin -- A Guide to Rails Flashes

If someone tries to steal a penguin, how should you warn them?

#Frontend#Ruby on Rails
Added: 25 Apr 2025

Writing code with LLMs is fundamentally different from other ways of programming. LLMs are often non-deterministic and always unpredictable. They have a…

#AI
Added: 21 Apr 2025

This is my personal site, where I write about Ruby, programming, and any of my varied fascinations.

#database#Ruby on Rails
Added: 15 Apr 2025
Simplify sharing with built-in APIs and progressive enhancement

Instead of leaning into heavy social sharing widgets, you can create a truly user-friendly social sharing component that works for everyone, using built-in APIs and progressive enhancement.

#Frontend#Javascript
Added: 10 Apr 2025
Ultimate Guide to Server Hardening for Kamal

Build, deploy and manage your applications on any cloud or your own servers.

#DevOps#Ruby on Rails
Added: 9 Apr 2025
Avoiding N+1 queries the Railsy way with strict loading

Need to catch N+1 queries without adding any extra dependencies to your project? Strict Loading makes it effortless, but your configurations need to be set up correctly to avoid unexpected behaviors.

#Backend#Ruby on Rails
Added: 8 Apr 2025
Your Product Should Be Shiny. Your Stack Should Be Boring.

Build shiny products on boring tech: proven frameworks, stable infrastructure, and tools that won’t vanish in 3 years.

#Consulting#Ruby on Rails
Added: 4 Apr 2025
Accessible Design Checklist

Improve your design’s accessibility with this quick reference checklist and Penpot plugin.

#Design
Added: 3 Apr 2025
Implementing an Inventory Module in Ruby on Rails: Handling Concurrency with Database Locks and SKIP LOCKED

Implementing an Inventory Module in Ruby on Rails: Handling Concurrency with Database Locks and SKIP LOCKED When implementing an inventory module in a Ruby on Rails application, ensuring consistency in stock levels is crucial. If multiple users try to purchase the same item simultaneously, concurrency issues can lead to overselling. In this post, we’ll explore two approaches to handling inventory management: Using a simple counter with database locks to prevent race conditions. Improving performance using SKIP LOCKED for efficient inventory allocation.

#Ruby on Rails
Added: 30 Mar 2025

Believe it or not, I don't think that title is clickbait.

#database
Added: 27 Mar 2025

I’ve been recently working on a Slack bot and Slack delivers all events (webhooks) to the same URL that you can configure. That means you need to distinguish between different events types based on the payload (request body). In the past, I’ve seen that Rails apps usually reimplement their own “slack routing” within a single controller action. I wanted to share a different solution that I came up with. Let’s do routing in rails routing.

#Ruby#Ruby on Rails
Added: 27 Mar 2025
Why sprints | Swizec Teller

For the past few months I've been introducing sprints into a chaotic startup that's been growing so fast everyone's got whiplash. Since August, 5 engineers turned into 12. I think it's starting to work.

#Consulting
Added: 26 Mar 2025
Examples of Value Objects with Ruby's Data Class

See examples of using Ruby's Data class for creating value objects, removing boilerplate code, and enhancing API response handling

#Ruby#Ruby on Rails
Added: 26 Mar 2025
Multilevel RAG

PREMISE Simply breaking an entire document into regular CHUNKs has some...

#AI#Typescript
Added: 26 Mar 2025
How to configure Postgres as an Accessory with Kamal 2 and Rails 8 on

In this guide I will explain how I configured and deployed a Rails 8.0.2 application using Kamal 2 with a Postgres database running as a kamal accessory on a single Virtual Private Server (VPS).

#DevOps#Ruby on Rails
Added: 26 Mar 2025
Action Policy

Authorization framework for Ruby/Rails application

#Ruby on Rails
Added: 25 Mar 2025
Using the Presenter Pattern in Ruby on Rails

The presenter pattern is a handy design approach that sits between your views and models, helping you keep your code organized by handling view-specific logic in a clean and maintainable way. Let’s explore how to use it you your rails app.

#Ruby#Ruby on Rails
Added: 25 Mar 2025
Better stability with Rails load testing in Apache JMeter

Every Rails app has a breaking point. Follow along and learn how to test your application's performance under load with the Apache JMeter's Rails load testing.

#DevOps#Ruby on Rails
Added: 21 Mar 2025
Simple Declarative Presence for Hotwire apps with AnyCable—Martian Chronicles, Evil Martians’ team blog

Learn how to seamlessly integrate online presence tracking into a Rails application powered by Hotwire and AnyCable.

#Backend#Frontend#HOTWire#Ruby on Rails
Added: 21 Mar 2025
First Previous Next Last