Full Stack Ruby on Rails Weekly Bookmarks - #41


A taxonomy for alerts and notifications
Is it an Alert, Toast, Callout, Popup, Snackbar, or Notification?
Merging vs. Rebasing | Atlassian Git Tutorial
Compare git rebase with the related git merge command and identify all of the potential opportunities to incorporate rebasing into...

How to Find, Debug and Fix N+1 Queries in Rails
Fixing N+1 issues is often the lowest-hanging fruit in optimizing a Rails app performance. However, for non-trivial cases choosing a...
The Web Needs a Native .visually-hidden
For years, developers have passed around a set of styles like a magic incantation. It's time we made it a...
If you find yourself wrestling with CSS layout, it’s likely you’re making decisions for browsers they should be making themselves....
Some simple ways to make content look good - Set Studio
Something non-designers understandably struggle with is how to make things look good. One of those things is long form content...
Create a Direction Aware Hover Effect Using CSS :has() Selector
A practical guide on how you can build a pure-CSS direction-aware hover effect for your navigation menu bar using :has()...
Stimulus Nested Forms | Ruby on Rails 7 Tutorial
Today we take a look at a Stimulus implementation for nested forms in Ruby on Rails 7. It's a bit...
Perfect Homepage Design Explained (in 15 minutes)
Join my private training platform for web designers:https://www.paitpro.com. Perfect Your Web Designs With Thes...
Stubbles - Stubbing and Doubles innit. 🧔
Confession: I’ve always struggled to understand the difference between stubbing and doubles…

Avoiding UI Regressions With Jest
How can you ensure that a modification on a component won't break the responsiveness on the user...
Understanding the Rails Router: Why, What, and How
The router is the entry point of your Rails application. It acts as the gatekeeper for all incoming HTTP requests,...


How to click links in Rails Mailers when writing tests
When writing an integration or system test in Rails, have you ever needed to click a link in an email?...
Mastering PostgreSQL Views and CTEs for Rails Developers: A Comprehensive Guide
Introduction Views and Common Table Expression or CTE are two important concept in...

Assign a default value to an attribute in Active Record
You’ve probably been using callbacks. Don’t.
A journey towards better testing practices
Testing anti-patterns I learned to stay away from over the years.
16 little UI design rules that make a big impact
A UI design case study to redesign an example user interface using logical rules or guidelines