[Rails] How We Reduced API Response Rendering Time by 30%

I work on the backend team supporting an SNS with 170K users, built using Ruby on Rails. We use...

#Backend#Ruby#Ruby on Rails
Added: 12 Feb 2025
Optimize Pagination Speed with Asynchronous Queries in Ruby on Rails - RorVsWild

In any Rails application that deals with large amounts of records, you will most certainly reach for pagination to "window" your data instead of rendering it in one long list.

#Backend#database#Ruby on Rails
Added: 12 Feb 2025
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.

#Backend#Ruby on Rails
Added: 12 Feb 2025
Upgrading a Rails App to Tailwind v4

But, no matter what your setup, you are going to need to read through the Tailwind Upgrade guide. Maybe even a couple times.

#Frontend#Ruby on Rails
Added: 11 Feb 2025
How to Integrate React with Ruby on Rails: A Complete 2025 Guide

Learn how to seamlessly integrate React with Ruby on Rails in this comprehensive guide. Covers setup, configuration, best practices, and modern tooling for building powerful full-stack applications. Perfect for both beginners and experienced developers.

#Frontend#Javascript#Ruby on Rails
Added: 9 Feb 2025
Hacking Rails controller actions and rendering

Build command-line interface terminal apps in your favorite web application frameworks like Rails, Next.js, ASP.net, Spring, Phoenix, Django, and more.

#Backend#Ruby on Rails
Added: 5 Feb 2025
How to Build a Twitter Clone with Rails 8 Inertia and React

An update to How to Build a Twitter Clone with Rails and React

#Frontend#Javascript#Ruby on Rails
Added: 1 Feb 2025
Stimulus Autocomplete with Combobox Navigation

I’ve been slowly migrating a client’s Rails app from jQuery and UJS to Hotwire in between feature work. One of the last remaining pieces has been replacing jQuery UI Autocomplete, a pretty common library to see in web applications of a certain age.

#Frontend#HOTWire#Javascript#Ruby on Rails
Added: 1 Feb 2025

The Rails ecosystem has a huge amount of gems to choose from. That doesn’t mean you should add them without thinking. This article lists the carefully selected gems I use in my Rails SaaS apps.

#Gem#Ruby on Rails
Added: 1 Feb 2025
Build a (progressively enhanced) drawer component with Hotwire

You can get 90% of the way there with server-rendered templates and View Transitions.

#Frontend#HOTWire#Ruby on Rails
Added: 29 Jan 2025
Adding button loader to Turbo-powered forms

Turbo is a great way to build user interfaces, but most Turbo forms have to wait for the server response. Here’s how I am adding a small loading spinner to the submit buttons to improve the UX.

#Frontend#HOTWire#Ruby on Rails
Added: 24 Jan 2025
Domain-Driven Design (DDD) in Rails: Structuring Applications for Clarity and Scalability

Modern web applications often start simple but quickly grow in complexity as features are added and the domain evolves. Without a clear structure, this complexity can lead to tangled codebases, slowing development and increasing the risk of bugs.

#Consulting#database#Ruby on Rails
Added: 24 Jan 2025
Component variants in Rails with the class_variants gem

Learn how to use the 'class_variants' gem to simplify your application's CSS and clean up your views

#CSS#Frontend#Ruby on Rails
Added: 23 Jan 2025

The website of Emily Samp, a software developer and community organizer.

#Soft Skills
Added: 17 Jan 2025
Rails Self-Join Tables: Parent-Child Magic

Learn how to implement self-referential associations in Rails 8 for hierarchical data structures. Perfect for building nested relationships in your models.

#database#Design#Ruby on Rails
Added: 17 Jan 2025

Thoughts and learnings on writing better software

#Ruby#Ruby on Rails#testing
Added: 15 Jan 2025
Design a URL Shortener - System Design Interview

#25 System Design Interview - Design TinyURL

#Backend#Design
Added: 15 Jan 2025
Prevent Logging Sensitive Data with Rails Parameter Filters

This article explains why you shouldn't log confidential or user-identifiable information and how to filter it using parameter filtering in Rails. We'll also do a deep dive into the Rails source code to learn exactly how Rails implements parameter filters.

#Backend#Ruby on Rails
Added: 15 Jan 2025
Moving from AWS S3 to Cloudflare R2 for Active Storage

Olly Headey. CTO and advisor. Co-founder of FreeAgent. 37signals alumni.

#Backend#Ruby on Rails
Added: 12 Jan 2025
Deploy Rails 8 with Docker & Kamal: 2025 Guide

Learn how to deploy Rails 8 apps using Docker, Kamal, and PostgreSQL on Hetzner servers with Cloudflare DNS. A complete production setup guide.

#DevOps#Ruby on Rails
Added: 10 Jan 2025
How Honeybadger migrated from Sidekiq to Karafka

@seo:excerpt

#Backend#Ruby on Rails
Added: 9 Jan 2025
A simple trick to understand Ruby’s lazy enumerator

Where you get to play with an interactive demo to visualize how Enumerator::Lazy helps avoid unnecessary work

#Ruby
Added: 9 Jan 2025
Finishing touches for forms

Some tips on making sure forms written in Ruby on Rails are accessible

#Design#Frontend#Ruby on Rails
Added: 6 Jan 2025
Rails Soft Delete & Audit Logging Guide

Learn how to implement soft deletion with robust audit logging in Rails applications, ensuring data integrity and compliance in financial systems.

#Consulting#Ruby on Rails
Added: 3 Jan 2025
How Business Automation Can Be Affordable for Small Businesses — SitePoint

Discover how small businesses can leverage affordable automation solutions to boost efficiency, reduce costs, and compete effectively. Learn practical tips for implementing automation tools and maximizing ROI

#AI#Consulting
Added: 1 Jan 2025
First Previous Next Last