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.
đ Boost Your Rails Development with Better Seeding! đ±
Seeding your database the right way can save time, improve maintainability, and speed up development. In my latest article, I explore: â Best practices for seeding in Rails â How to use find_or_create_by to avoid duplicates â Generating realistic data with Faker â Faster bulk inserts with ActiveRecord-Import â Organizing seeds for different environments If you want to level up your Rails seeding strategy, check it out! đ [more inside]
Level Up Your Ruby Skills: From Novice to Wizard! đ§âïžđ
Are you ready to go from Ruby novice to full-fledged wizard? đ§ââïž Whether youâre writing your first script or diving deep into metaprogramming, Iâve put together an ultimate guide to mastering Ruby! [more inside]
Ruby on Rails on WebAssembly: a guide to full-stack inâbrowser action
Learn how to run a fully functional Ruby on Rails blog in your browser with WebAssemblyâno servers needed! This is your complete guide to making Rails Wasm-ready. Read it here: [more inside]
SEOBUD1 keeps posting spam
Are there any moderators here, or can anyone post anything? [more inside]
Simple e-mail service with Rails
Iâve finished a long going beginner tutorial on how to write Simple e-mail service/client using Rails. Utilizing parts of Rails ecosystem (ActiveStorage, ActionMailer, ActionMailbox, Turbo) to showcase Rails capabilities while writing as little code as possible.
Active Record: store vs store_accessor method
A quick introduction to often confused methods for JSON serialization in Active Record:
The state of security in Rails 8
I finally published the written version of my Rails World talk:
Rails async queries by example
Imaging you have a Rails endpoint that has slow queries AND performs third-party HTTP requests. With Rails async queries, you can perform these operations in parallelâwithout being an expert in multithreading. Read our new article from Julie Kent to learn how
Article on how to fix asdf 0.16.x which "broke" my ruby version
On my computers, I recently updated the packages and asdf was one that got updated. This âbrokeâ my Ruby installation and I wrote up an article on how I fixed it
Instant page loading with Signed Exchanges: How mutable subresources break it
Mutable subresources can silently prevent SXG from prefetching your site, slowing down Google-referred users without any visible errors. This deep dive explores what they are and how to detect them. [more inside]
Win a free trip to Sin City Ruby!
]Judoscale is giving away a free ticket to Sin City Ruby INCLUDING HOTEL!! You just need to get yourself there. đ
Unit tests in Trailblazer: less code, more coverage.
Testing operations in Trailblazer is now much simpler, as we released the trailblazer-test gem. The blog post explains the basics around asserting a successful operation and testing failing ones, mocking steps and how we improved the developer experience.
New gem released "aigcm" AI-powered git commit message generator
I hate seeing empty commit messages or messages like âsnapshotâ when I review a git log. Who has the time to actually write good commit messages? Let your robot do it!! Check it out at [more inside]
Flexible API versioning with Rails
A well-defined API versioning strategy is crucial for any API expected to evolve. Letâs explore the most common API versioning strategies and develop a flexible one in Rails. [more inside]
How to Integrate React with Ruby on Rails: A Complete 2025 Guide
Integrating React with Ruby on Rails is a powerful way to build modern full-stack applications.
Ruby Programmer Happiness Explained!
âRuby Programmer Happinessâ means âhappiness for having the ability to deliver useful business value to customers as productively and as simply as possible with the ability to maintain the code with very little effort for years to comeââŠ
Self-Hosted App to a Multi Tenant Hosted App â Postgres Schemas in Rails
I had to convert a self-hosted app into a multi-tenant hosted one and used Postgres Schemas to make it happen. Iâve documented the process and also shared some insights in this post
Build a Notion-like editor with Rails
Part 2 to enhance with Turbo, Stimulus and Tailwind CSS coming soon. đ€ [more inside]
ruby-install 0.10.0 released
Released ruby-install 0.10.0! This release contains many small improvements to usability and better support for building CRuby with jemalloc or YJIT enabled. [more inside]
How to avoid problems with Turbo morphing
Turbo 8 morphing is usually talked about in two opposites: how great it is and how frustrating it is when it breaks something. Iâve gathered all the approaches I know about how to solve problems with morphing: How to avoid problems with Turbo morphing