-
You can build some super reusable validations by extending the ActiveModel::EachValidator class. Here is a very quick run through on how to do that :).
Read more -
In this episode, we look at some common functionality that we got with Rails UJS and what it looks like to reimplement these with Hotwire's Turbo and S.
Read more -
Last year I wrote an article on building an instant search form with Rails and StimulusJS. Since then, Turbo, the other half of Hotwire for the web has.
Read more -
ActiveRecord::Calculations is a great collection of methods that allow arithmetic operations to be performed right on the ActiveRecord attributes. Thes.
Read more -
Need to dynamically update fields when a user changes a select box? We can do that easily in Rails using Hotwire's Turbo Stream actions....
Read more