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.
Mastering Active Record Validations in Rails
Mastering Active Record Validations in Rails
đ ïž Stop Code Decay Before It Starts with CI
I just published an article showing how to set up Continuous Integration across multiple popular platforms â GitHub Actions, GitLab CI, Jenkins, CircleCI, and yes, Bitbucket Pipelines too! [more inside]
Experimenting to optimize SQL query by x360 and some tips to read query plans
SQL is among the main skills for Ruby on Rails developers. When talking about performance, itâs, for instance, critical to understand a query plan. When unsure, experimenting can sometimes go a long way, as this story of query optimization can tell: https://www.rorvswild.com/blog/2025/experimenting-to-optimize-sql-query-by-x360-and-some-tips-to-read-query-plans
Rails 8 review
My opinion about Rails 8 after 6 month of work with it. Only positive things ;) [more inside]
How to Build a Twitter Clone with Rails 8 Inertia and React
Want to learn how to use InertiaJS with Rails 8? Check it out here
đȘ Ever wondered how to manage multiple clients or stores under a single Rails app â
In my latest article, I share how I used the apartment gem to implement multi-tenancy for a SaaS platform tailored to music instrument stores. đžđ„ [more inside]
Coding agent in 94 lines of Ruby
Turns out, creating a simple AI coding agent is not very hard, especially in Ruby: Coding agent in 94 lines of Ruby
Deployable Rails template
Template project with built in AWS infrastructure and deployment using AWS CDK and Rails 8 - App + Infrastructure = EasyDeployment
đ Tired of managing file operations on AWS S3 the hard way? Iâve got a solution.
I just wrote an article on how I built a simple yet powerful Ruby class, S3FileManager, to easily upload, delete, rename, and overwrite files in AWS S3. No more messy code or forgotten file deletions. đ§č [more inside]
Understanding Active Record Connection Pooling
Continuing our âScaling Railsâ series, our next article explores handling connection pools. Scaling your application means handling more database operations. More db operations means need for more connections. [more inside]
Whatâs Next in AI That Can Be Built Using Ruby on Rails in 2025
Discover how Ruby on Rails is enabling the next generation of AI-powered applications in 2025, from smart SaaS tools to predictive dashboards, etc. https://blog.railsforgedev.com/ai-with-ruby-on-rails
Learn Ruby/Rails while app starts
https://github.com/igorkasyanchuk/get-smart a simple gem with a collection of Ruby/Rails/gems/JS/SQL tips. Learn them while you start ârails câ or ârails sâ.
đ Testing Beyond the Basics in Ruby
Ever felt like your test suite only scratches the surface? I just published an article diving into how we can go beyond the green checkmarks and truly understand whatâs being tested â and more importantly, whatâs not. From test coverage illusions to practical strategies for deep, meaningful tests, this is a must-read if you care about writing reliable, maintainable Ruby applications. [more inside]
Cloudflare R2 with Active Storage
Handling file uploads in Rails applications has never been easier. With Active Storage, we can be up and running in a matter of minutes with local uploads and, with some extra effort, we can get cloud uploads rapidly. In this article, we will learn how to set Cloudflare R2 with Active Storage to use it as our cloud provider and also use Cloudflareâs CDN so we get fast [more inside]
Kamal Deployment Chronicles: The Quest for Production-Like Nirvana
From weekend project to full-stack chaos and container enlightenment. Hooks, hacks, heartbreakâand a happy ending. đ Read it: here
đ Free SSL Certificates for Your Rails Apps? Yes, Please!
Managing HTTPS doesnât have to be expensive or manual. I just wrote an article showing how to integrate Letâs Encrypt into your Ruby on Rails application â with automatic verification, issuance, and renewal. đ đĄ Plus, I contributed a new generator to the gem that simplifies setup even further. đ If youâre a developer or team looking to secure your Rails apps the right way, for free, this is for you. đ Read the full article: https://rubystacknews.com/2025/05/09/%f0%9f%94%92-free-ssl-certificates-for-your-ruby-on-rails-app-using-lets-encrypt/ đŹ Let me know what you think â happy to chat about Rails, infra, or open source contributions!
đđĄ Deep Dive into Rails' render: More Than Just a View Helper
If youâve ever wondered how render actually works in Ruby on Rails â beyond just render :show or render json: â I just published a deep dive into its behavior, use cases, and even the underlying source code. [more inside]
Multistep forms with Rails and the Wicked gem
Improving our usersâ experience when they sign up for our application is usually a good idea. Thatâs why dividing long forms into multiple steps increases our chances for conversion. In this article, we will build a multistep onboarding form using Rails and the Wicked gem to avoid writing any custom JavaScript while getting a comparable experience. [more inside]
đ Improving Data Validation in Ruby on Rails đ
In my latest article, I dive deep into how to implement robust validation systems in Ruby on Rails applications. Whether youâre building custom validation logic, optimizing performance, or ensuring data integrity, this guide offers practical insights on how to elevate your validation processes. [more inside]
đ Looking to Integrate External APIs into Your App? Let's Talk! đ
In todayâs digital world, data is key! If you need to integrate real-time external data into your application, I can help. Whether itâs for financial data, market trends, or anything else, I specialize in API integration to bring that data directly into your app seamlessly. [more inside]
An Introduction to Solid Queue for Ruby on Rails
In this two-part series, weâll dig deep into Solid Queueâs internals, discover what makes it unique, and learn more about why it was created in the first place: https://blog.appsignal.com/2025/05/07/an-introduction-to-solid-queue-for-ruby-on-rails.html
Multi tenant applications with horizontal sharding and Rails Event Store
Have you ever build a multi tenant application? Needed clear data separation? Have you used Rails horizontal sharding? The post provides detailed guidance on setting up shard-aware ActiveRecord models, configuring RailsEventStore with tenant-specific repositories, and handling asynchronous event handlers across shards. Itâs a practical resource for developers aiming to scale Rails applications with clear tenant isolation. [more inside]