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.
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. đ§č Read more
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. Read more
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.
Learn Ruby/Rails while app starts
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. Read more
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 Read more
My puts Debugging Workflow in Rails Apps
Puts debugging is the best. In this tutorial, Iâll walk you through my workflow for debugging Rails codebases using a custom toolkit inspired by Rust. We will also discuss how to smuggle your debug tools, together with a C extension, through even the most rigorous code review process. Read more
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: đŹ 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. Read more
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. Read more
đ 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. Read more
đ 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. Read more
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:
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. Read more
Scaling Rails - Part 3 is about finding the right number of threads in your process
Continuing our âScaling Railsâ series, our next article explores finding the correct number of threads in your process. Weâll have unused processing power if the number of threads is too low. If the number is too high, it will cause GVL contention and increase latency. Read more
Rack for Ruby: The Complete Beginnerâs Guide
Rack: Understand core concepts, routing, middleware basics, and learn how to create your own middleware step by step with examples. Read more
đ Add Multilingual Support to Your React App with react-i18next! đ
Learn how to enhance your React app with multilingual capabilities using react-i18next. This article covers how to implement language switching between English and Spanish, expanding your appâs reach to a global audience. Read more
llm-shell v0.1.0 published đ
llm-shell is an extensible, developer-oriented command-line utility that can interact with multiple Large Language Models (LLMs). It is great for Ruby hackers who want to hook their code up to LLMs easily. Jump to the Demos section to see it in action! :)
I used to think connecting a React frontend with a Rails API would be complex.
I used to think connecting a React frontend with a Rails API would be complex. Turns out, with the right setup (and a bit of Docker), itâs simpler than I imagined. Read more
Terminalwire is open source
Terminalwire is now available under then AGPL license! Details at including the âwhyâ, âwhy nowâ, a high-level tour of the source code, and the commercial offerings.
Scaffold Templates
In this episode, we explore using the scaffold generator and modifying the templates to simplify the creation of consistent, Tailwind CSS-styled views and controllers in a Rails application, saving time when prototyping and building new features.
Generate Beautiful PDFs with Rails 8 + Paged.js
Looking to create beautifully rendered PDFs in your Rails app? Read more