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
What changed in Rails this year?

2024 was an amazing year for the Rails community and I’d like to share a summary of what changed in the framework. As a TLDR, there were more than 4000 commits from 562 contributors and 55 releases, including Rails 8!

#Ruby on Rails
Added: 1 Jan 2025
New Front-End Features For Designers In 2025 — Smashing Magazine

Searching for the most flexible front-end workflows and toolkits, it’s easy to forget how powerful some of the fundamentals on the web have become these days. This post is a journey through new front-end features and what they are capable of.

#CSS#Frontend
Added: 1 Jan 2025

TIL: `rails credentials:diff --enroll` (and `--disenroll`) Makes local diffs of encrypted credentials files display as diffs of the un-encrypted text instead of diffs of the encrypted gibberish. Helps reduce friction of seeing what changed in credentials when merging or navigating merge conflicts.

#Javascript#Ruby on Rails
Added: 1 Jan 2025
How to add Mission Control to your Rails app and protect it with Basic Auth

Mission Control is a powerful tool for monitoring and managing your Rails jobs in real-time. It offers insights into your app’s performance and errors. In this tutorial, I’ll show you how to integrate Mission Control into your Rails app and secure it with Basic Auth.

#Backend#Ruby on Rails
Added: 30 Dec 2024

Part 2 of a multi-part series for moving away from devise to Rails' authentication generator

#Backend#Ruby#Ruby on Rails
Added: 30 Dec 2024

Part 1 of a multi-part series for moving away from devise to Rails' authentication generator

#Backend#Ruby#Ruby on Rails
Added: 30 Dec 2024
Going native with ActionMailbox

ActionMailbox has the most underrated fun-to-feature ratio. No suprise here then, that as soon as I had the chance to work with it on Laterbox, I jumped on the occasion.

#Ruby on Rails
Added: 18 Dec 2024
Refactoring Rails: Strategies to Refactor Models - FastRuby.io | Rails Upgrade Service

There's abundant online guidance about refactoring controllers, but resources on model refactoring are less common. In this blog, we'll explore techniques for effectively refactoring models.

#Ruby on Rails
Added: 18 Dec 2024
How to Customize Rails Form Error Handling

If you've worked with Rails forms, you've likely encountered the infamous `.field_with_errors wrapper`. While it's designed to help highlight inval...

#CSS#Frontend#Ruby on Rails
Added: 18 Dec 2024
Rails 8.0 Credentials: The Ultimate Guide to Secure Configuration Management

Discover how to seamlessly transition from encrypted secrets to Rails 8.0's powerful credentials system.

#Ruby on Rails
Added: 18 Dec 2024
Ryan Bigg - Scoping an Active Record join

Scoping an Active Record join

#Backend#database#Ruby on Rails
Added: 18 Dec 2024
Everything You Need to Ace PWAs in Rails Turn your Rails app into an engaging native-like application in a couple of minutes - The Miners

In this article, the author starts a series about Progressive Web Applications (PWAs) in Rails

#Frontend#Javascript#Ruby on Rails
Added: 18 Dec 2024

Getting paying users has never been simpler with Stripe and Rails. Let’s go over the tiny amount of code needed today.

#Backend#Frontend#Ruby on Rails
Added: 17 Dec 2024
How to Design UI Forms in 2024: Your Best Guide

Discover best practices and examples for designing user-friendly and visually appealing UI forms. Aim for enhanced user engagement and improved completion rates.

#Design#Frontend#Ruby on Rails
Added: 12 Dec 2024
Ender Ahmet Yurt (@enderahmetyurt.com)

Ruby on Rails 8 provides `except_on` options for validations! #railstips #rubyonrails

#Javascript#Ruby on Rails
Added: 11 Dec 2024

This is my personal site, where I write about Ruby, programming, and any of my varied fascinations.

#Backend#Frontend#Ruby on Rails
Added: 11 Dec 2024
Nested forms with just Turbo Streams

Recently I was working on implementing dynamic nested forms using Turbo Streams, focusing on handling both new and persisted records without custom JavaScript. Well, mostly for fun, to try something new. And while there are multiple approaches to this problem, including Stimulus controllers or plain JavaScript, Turbo Streams offer a clean, server-driven solution that leverages Rails conventions. The Core Concept: Form Manipulation vs Persistence A key aspect of this implementation that might not be immediately obvious is that the IngredientsController doesn’t actually persist any data. Its sole responsibility is to manipulate the form structure through Turbo Stream responses.

#Frontend#HOTWire#Ruby on Rails
Added: 10 Dec 2024
Implementing Multi-Select Enums in Ruby on Rails with PostgreSQL

Learn how to implement multi-select enums in Ruby on Rails using PostgreSQL for better performance, type safety, and flexible categorization.

#database#Ruby on Rails
Added: 10 Dec 2024
How to add an RSS feed to a Rails app - Avo

Learn how to add an RSS feed to a Rails app for the site and for single resources with this article.

#Frontend#Ruby#Ruby on Rails
Added: 10 Dec 2024
3 ActiveRecord Mistakes That Slow Down Rails Apps: Count, Where and Present

Many Rails developers don't understand what causes ActiveRecord to actually execute a SQL query. Let's look at three common cases: misuse of the count method...

#Backend#Consulting#Ruby on Rails
Added: 10 Dec 2024
Adding Google OAuth in Rails 8

Rails 8 added an authentication generator, but what if we want to use Google OAuth? I decided to implement it using the oauth2 gem and share what I learned.

#Ruby on Rails
Added: 10 Dec 2024
First Previous Next Last