RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

  Today

  Today

Demystifying Rails Generators: What I Wish I Knew

Rails generators, and their underlying Thor integration, can be surprisingly opaque — even for experienced developers. I recently found myself deep in this rabbit hole, frustrated by the lack of clear documentation and practical guidance. So I wrote the article I wish I’d found back then. If you’ve ever struggled to understand or customize Rails generators, this guide breaks it down in a way that’s approachable and practical. [more inside]

  Yesterday

Kamal Deployment: The Newest Form of Self-Torture 

Struggling with Kamal 2 for Rails deployments? This detailed guide walks through common pitfalls and their solutions when setting up Kamal with Rails 8, Solid Stack, and multi-environment configurations. Learn practical workarounds for Docker permissions, credentials management, and Shrine file uploads that will save you days of frustration. [more inside]

  Last Monday

  Last Sunday

  Last Friday

Implementing an Inventory Module in Ruby on Rails: Handling Concurrency with Database

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 and reliability using SKIP LOCKED for efficient inventory allocation. [more inside]

  Last Thursday

  Last Wednesday

  25 March 2025

📬 Letter Thief - An emails logger for Rails

Would you like to log emails in your Ruby On Rails app? Letter Thief logs sent emails in your database and can also open them in development. If you used letter_opener you should be familiar with it, but now you can also use it where you don’t have a disk (like Heroku) [more inside]

Loading older posts