The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Yesterday
Rails Baseline 1.0: A Rails SaaS Starter Built for Coding Agents
I shipped Rails Baseline 1.0 today. [more inside]
Install rv as a mise tool
If you’re already using mise and would like to try rv, you can install it by following this guide:
ActiveRecord with update_all/delete_all with returning option
- this could be useful to know what actual records were updated/deleted. A small utility gem to solve this problem.
Access control for AI agents on Rails: gating SQL with Action Policy
An AI assistant with read-only SQL is a superhero. Until it fails privacy responsibilities and leaks sensitive data to everyone. We noted this possibility in an internal tool, moved the data boundary from prompt to Action Policy, and kept open-ended SQL: Access control for AI agents on Rails: gating SQL with Action Policy
A fresh look at Hanami
I revisited Hanami recently, and liked it! Here are my initial thoughts and impressions after completing its starter tutorial. I’ll be digging in further soon, so stay tuned. [more inside]
Ezoic vs Google AdSense: Real Performance and Revenue Comparison
For website owners, choosing between Ezoic vs Google AdSense is not simply a question of which ad network pays more. The more important questions are how each platform monetizes traffic, what level of control it gives publishers, what requirements must be met, and how much work is involved in managing advertising. [more inside]
A Guide to using Batches in SolidQueue
Digs into the new batch feature in SolidQueue. How to configure it, how to utilize the APIs, advice on how to structure a batch, and code inspiration - like splitting a RubyLLM chat into parallel sub agents using batches [more inside]
Video: Glimmer DSL for Web Release Version 0.10.0 & 0.10.1
Release video for Glimmer DSL for Web (Award-Winning Frontend Framework for Ruby on Rails) 0.10.0 & 0.10.1 Auto-Conversion of Date/Time Element Values + New Sample
Coding guidelines
What holds in any language. What holds in Ruby. What holds in Rails. Extracted so I don’t have to tell agents how to write my code every time. Which ones do you approve? Which ones do you reject? [more inside]
Best Email Marketing Automation Tools for Building a High-Converting List
Building an email list is easy compared with turning that list into a reliable source of traffic, leads and sales. A subscriber who receives nothing after signing up is not much more valuable than a visitor who leaves your website. [more inside]
The Persistence APIs That Skip the Record Lifecycle
A source-backed guide to what delete, update_columns, update_all, insert_all, and upsert_all do with callbacks, timestamps, locking, and loaded objects. [more inside]
Authorization testing in Rails
Chapter 13 of the free Minitest Rails guide is out now. Learn how to test Rails authorization with Minitest: [more inside]
JetUI — open source Rails component library
JetUI is an open source Rails 8 component library we’ve been building at JetRockets — 29 components, 8 form fields, and 61 UI blocks, built on ViewComponent, Tailwind CSS 4, and Stimulus. Copy-paste, not a dependency. We’re just about to hit 5,000 downloads. [more inside]
Blogger SEO Checklist: How to Rank a Free Blogger Site on Google
When people compare Blogger and WordPress, the conversation usually ends with the same conclusion: “WordPress wins because of SEO plugins.” That assumption has discouraged countless beginners from starting a blog on Blogger. But, the truth is much simpler. [more inside]
Where do you deploy your Ruby apps?
I’ve been doing some explorations about deployment options for Ruby, so I’m curious to learn more about what you’re using to deploy your applications. [more inside]
Top Site Monitoring and Uptime Alert Services for Webmasters
Website downtime is one of the easiest technical problems to overlook until customers, readers, or clients discover it first. [more inside]
Get in, human: cut Rails boot time with require-profiler and this guide
Rails boot time is a DX metric now. Every restart costs deploys, CI, and human attention. And agents boot apps way more than people. So, our convenient new require-profiler gem shows what happens during boot: requires, Rails initializers, YAML parsing, HTTP calls. Run it, then drop to a sampling profiler for what the tree can’t explain. One 200-component monolith cut development boot time by 40%. [more inside]
How to Safely Edit Blogger HTML & Install Custom Templates
Blogger remains one of the easiest ways to start a blog. It is free, reliable, and managed by Google. The one complaint many users have, however, is the appearance of the default themes. [more inside]
Migrating from Sphinx to PostgreSQL full-text search
Some notes on migrating a small site from Sphinx to PostgreSQL. Shout-out to Daniela Baron for her article on this, very helpful! [more inside]
One of The Dumbest Questions Asked on Ruby/Rails Subreddits
One of the dumbest questions I see asked on the Ruby/Rails subreddits is “Are Ruby & Rails still worth learning today?”, plus other variations, such as “Are Ruby and Rails still relevant today?” and “Are Ruby and Rails dead?”
Displaying File Names for Multi-File Inputs with Stimulus
The HTML file input shows “n files selected” when multiple files chosen. Here’s how Stimulus can be used (with or without Rails) to turn that into a list of file names for a better UX
How to Submit a Sitemap to Google Search Console on Blogger and WordPress
A sitemap is one of the basic technical SEO files a website can have. It gives search engines a list of URLs that you want them to discover and crawl. [more inside]
When Should You Use after_commit in Rails?
A Rails callback race traced across record saves, outer transactions, background-job connections, Active Job deferral, transactional tests, and the delivery gap after commit. [more inside]
Traffic Generation: How to Drive Search Traffic to a New Blog Without Buying Backlink
Starting a new blog creates an obvious problem: nobody knows it exists. You can publish useful articles every week and still receive very little traffic in the beginning. The solution is not necessarily buying backlinks. [more inside]
Pluckr - gem to query your DB efficiently
https://github.com/igorkasyanchuk/pluckr - a gem that can return results from multiple queries using 1 SQL statement. [more inside]