Tutorials
Use compact_blank to remove empty strings from Arrays and Hashes - Andy Croll
Active Support is a library of “useful” things that support (!) the other parts of Rails. It includes ways to extend the base Ruby classes, such as Hash, String and Integer.Even the most experienced Rails developer is constantly finding helpful me...
How to build a search engine with Ruby on Rails: Introducing the Whereable design pattern
You don’t hear this one every day: I just made a critical database query 10x faster by moving the bulk of the complexity out of SQL and back into Ruby. This post will explain how I did it, plus how you can apply a similar approach to rethinking se...
Build an OIDC provider with rodauth-oauth in rails, while keeping your authentication · HTTPX
I’ve written before about rodauth-oauth and how to use it to make an OAuth2 or OIDC Connect provider out of a rails application, and where I built a rails demo app based out of Janko Mahronic’s rodauth-rails demo app as a workable tutorial. It sho...
Release Hot Glue Now support ERB templates as an alternative to HAML · jasonfb/hot-glue
Rapid scaffold builder for Turbo-Rails and Hotwire - Release Hot Glue Now support ERB templates as an alternative to HAML · jasonfb/hot-glue Hot Glue — the fastest way to build scaffolding in Ruby on Rails with turbo views — now supports HAML and ...