Tutorials
Ruby Array Methods: A Comprehensive Guide - RailsCarma - Ruby on Rails Development Company specializing in Offshore Development
Master Ruby Array methods with this comprehensive guide. Learn key functions, practical examples, & best practices to boost your efficiency.Ruby, the elegant and developer-friendly programming language created by Yukihiro Matsumoto (often called M...
Migrating a legacy database into an existing Rails app
Sometimes, you need to connect to a legacy database and retrieve some data. Perhaps you are deep in the process of rewriting an application, or maybe your company has bought another company, leaving you, the poor lone developer, responsible for tr...
The Basics of Creating Rails Plugins — Ruby on Rails Guides
A Rails plugin is either an extension or a modification of the core framework. Plugins provide:
A way for developers to share bleeding-edge ideas without hurting the stable code base.
A segmented architecture so that units of code can be fixed or...
37signals Dev — Running our Docker registry on-prem with Harbor
As of early 2025, we’re deploying all of our applications with Kamal using Docker as our containerization platform. The container registry that holds our app images is one of the most integral pieces of our deployment pipeline.
Like many organiza...
Friendship Ended with Rack::BodyProxy | Rails at Scale
The application responds to #call with a single argument, the environment, and returns an array of status, headers, body. All of the concepts seem straightforward, right? The status is an Integer, the environment and response headers are Hashes, a...
Using Tailwind AND Bootstrap side by side in Rails
Find out how to use both Tailwind CSS and Bootstrap in the same Rails application.Compared to a few years ago, it's a blast to develop Rails apps with modern frontend tools these days. The full JS and CSS ecosystems are first class citizens in any...
Easy Redesign in Rails: Run Old and New Side by Side with :variants
Rails variants are usually used to serve different views for devices — but you can use them for much more, like running a redesign side by side.Redesigning a mature Rails app can feel like a minefield. You're still pushing hotfixes to production, ...
User-Specific Content in Turbo Stream Partials | Rails Designer
Learn how to conditionally show user-specific content in Rails Turbo Stream partials using a custom turbo-show element for client-side rendering.How would you conditionally show or hide user-specific content in a partial sent over Turbo Stream? Th...
Organizing Mailer Templates with prepend_view_path in Rails
Learn how to organize Rails mailer templates with prepend_view_path. Keep all email templates in one centralized directory instead of scattered across your views folder for better code organization.
If you're using multiple mailers in your Rails a...