Notes to self

Notes to self.

Latest

devise-otp 2.0 released

The OTP plugin for Devise I help to maintain goes 2.0 this week. Here is what’s new and how to upgrade.

InvoicePrinter 2.5 with QR images and Ruby 3.4 support

Today I released a new version of InvoicePrinter, my Ruby library for generating PDF invoices. Here’s what’s new.

Running JavaScript after a Turbo Stream renders

Turbo comes with turbo:before-stream-render but unfortunately doesn’t ship with the equivalent turbo:after-stream-render. Here’s how to run JavaScript after the stream renders.

Running interactive sessions with Kamal

How to connect to a container on a server managed by Kamal and run an interactive session?

Predownloading embedding models in Rails with Kamal

If you are building AI-powered applications in Ruby on Rails, you might have come across Informers or Transformers.rb gems for transformer inference. Here’s how to improve the production deployment of their models in Kamal setups.

by Josef Strzibny
RSS