Tutorials

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 ...





Markdown Tutorial Using Redcarpet and Coedray Gems
We have seen many blogs having markdown support. We can add links, images, videos, and gifs to any article having markdown support. Thinking about content without worrying about the blog’s presentation makes it easy for bloggers to make great cont...

Better Ruby Gemfile security: A step-by-step guide using Snyk | Snyk
Ruby is a well-defined and thought-out language and has been around since the mid-1990s. In 2004, Ruby incorporated RubyGems as its package manager. RubyGems is used to manage libraries and dependencies in a self-contained format known as a gem. T...

Submitting many ActionMail jobs at once with Sidekiq
I recently came across a situation where enqueueing several thousand mails from a Rails app to Sidekiq was surprisingly slow and the fix surprisingly complex, so I decided to write a blog post about it both for myself (if I need this again) and ot...

Notes on retrying all jobs with ActiveJob retry_on
Many people use backend-specific logic for retries, especially with Sidekiq. That’s fine!I like the idea of using the ActiveJob functionality:I currently use resque (more on challenges with retry here later), but plan to switch to something else a...