Simplify sharing with built-in APIs and progressive enhancement

Instead of leaning into heavy social sharing widgets, you can create a truly user-friendly social sharing component that works for everyone, using built-in APIs and progressive enhancement.

#Frontend#Javascript
Added: 10 Apr 2025
Ultimate Guide to Server Hardening for Kamal

Build, deploy and manage your applications on any cloud or your own servers.

#DevOps#Ruby on Rails
Added: 9 Apr 2025
Avoiding N+1 queries the Railsy way with strict loading

Need to catch N+1 queries without adding any extra dependencies to your project? Strict Loading makes it effortless, but your configurations need to be set up correctly to avoid unexpected behaviors.

#Backend#Ruby on Rails
Added: 8 Apr 2025
Your Product Should Be Shiny. Your Stack Should Be Boring.

Build shiny products on boring tech: proven frameworks, stable infrastructure, and tools that won’t vanish in 3 years.

#Consulting#Ruby on Rails
Added: 4 Apr 2025
Accessible Design Checklist

Improve your design’s accessibility with this quick reference checklist and Penpot plugin.

#Design
Added: 3 Apr 2025
Implementing an Inventory Module in Ruby on Rails: Handling Concurrency with Database Locks and SKIP LOCKED

Implementing an Inventory Module in Ruby on Rails: Handling Concurrency with Database Locks and SKIP LOCKED When implementing an inventory module in a Ruby on Rails application, ensuring consistency in stock levels is crucial. If multiple users try to purchase the same item simultaneously, concurrency issues can lead to overselling. In this post, we’ll explore two approaches to handling inventory management: Using a simple counter with database locks to prevent race conditions. Improving performance using SKIP LOCKED for efficient inventory allocation.

#Ruby on Rails
Added: 30 Mar 2025

Believe it or not, I don't think that title is clickbait.

#database
Added: 27 Mar 2025

I’ve been recently working on a Slack bot and Slack delivers all events (webhooks) to the same URL that you can configure. That means you need to distinguish between different events types based on the payload (request body). In the past, I’ve seen that Rails apps usually reimplement their own “slack routing” within a single controller action. I wanted to share a different solution that I came up with. Let’s do routing in rails routing.

#Ruby#Ruby on Rails
Added: 27 Mar 2025
Why sprints | Swizec Teller

For the past few months I've been introducing sprints into a chaotic startup that's been growing so fast everyone's got whiplash. Since August, 5 engineers turned into 12. I think it's starting to work.

#Consulting
Added: 26 Mar 2025
Examples of Value Objects with Ruby's Data Class

See examples of using Ruby's Data class for creating value objects, removing boilerplate code, and enhancing API response handling

#Ruby#Ruby on Rails
Added: 26 Mar 2025
Multilevel RAG

PREMISE Simply breaking an entire document into regular CHUNKs has some...

#AI#Typescript
Added: 26 Mar 2025
How to configure Postgres as an Accessory with Kamal 2 and Rails 8 on

In this guide I will explain how I configured and deployed a Rails 8.0.2 application using Kamal 2 with a Postgres database running as a kamal accessory on a single Virtual Private Server (VPS).

#DevOps#Ruby on Rails
Added: 26 Mar 2025
Action Policy

Authorization framework for Ruby/Rails application

#Ruby on Rails
Added: 25 Mar 2025
Using the Presenter Pattern in Ruby on Rails

The presenter pattern is a handy design approach that sits between your views and models, helping you keep your code organized by handling view-specific logic in a clean and maintainable way. Let’s explore how to use it you your rails app.

#Ruby#Ruby on Rails
Added: 25 Mar 2025
Better stability with Rails load testing in Apache JMeter

Every Rails app has a breaking point. Follow along and learn how to test your application's performance under load with the Apache JMeter's Rails load testing.

#DevOps#Ruby on Rails
Added: 21 Mar 2025
Simple Declarative Presence for Hotwire apps with AnyCable—Martian Chronicles, Evil Martians’ team blog

Learn how to seamlessly integrate online presence tracking into a Rails application powered by Hotwire and AnyCable.

#Backend#Frontend#HOTWire#Ruby on Rails
Added: 21 Mar 2025
Creating Ruby Value Objects: The Idiomatic way

Learn to create value objects in Ruby using idiomatic practices, focusing on immutability, comparability, and the modern `Data` class

#Backend#Ruby#Ruby on Rails
Added: 21 Mar 2025
Ruby Debugging Tips and Recommendations in 2025

A quick list of Ruby debugging tips and recommendations from Shopify’s Ruby DX team

#Ruby#Ruby on Rails
Added: 21 Mar 2025
Rails 8 Assets - Deep dive into Propshaft

Read the previous article to learn how Propshaft and importmap-rails work together to form the Rails 8 Asset pipeline. That article focuses on the interplay between the two and explains more of the importmap-rails side. Now, let’s dive into how Propshaft actually processes the assets.

#Frontend#Ruby on Rails
Added: 20 Mar 2025

Sooner than later your Rails app will see spam and bot sign ups. Here are three steps to minimize those sign ups from the day you launch.

#Backend#Ruby on Rails
Added: 20 Mar 2025
The search element

A quick look at the search element, a semantic element for search and filtering

#CSS#Frontend
Added: 19 Mar 2025
Minitest vs RSpec for testing Rails applications

LakyAI

#Ruby on Rails#testing
Added: 18 Mar 2025
Build AI-Powered Apps With Genkit and Angular

There has never been a better time to start building with AI and the state-of-the-art models available to developers everywhere. Building…

#AI#Frontend#Javascript
Added: 18 Mar 2025
Creating Animated Accordions with the Details Element and Modern CSS

Learn how to create animated accordions using only HTML and modern CSS with the details element, interpolate-size, transition-behavior, and the :has() selector.

#CSS#Frontend
Added: 18 Mar 2025
Integer Enums vs. String Enums in Rails: Which One Should You Use?

Discover whether to use integer or string enums in Ruby on Rails. Learn their differences and see real-world code examples.

#database#Ruby#Ruby on Rails
Added: 14 Mar 2025
First Previous Next Last