-
Maybe you are already familiar with includes or preload, but you know that a lot of the time you will need more than just preload(:comments).It is comm.
Read more -
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