The most underrated Rails helper: dom_id
One of the oldest helpers in Rails is also the most underrated. dom_id
shines for building apps with Hotwire, allowing you to easily target parts of the page without a bunch of nasty string interpolation.
https://boringrails.com/articles/rails-dom-id-the-most-underrated-helper/
Post a comment