Login
From:
frankgroeneveld.nl
(Uncensored)
subscribe
Clean up HTML class attributes in Ruby on Rails | Frank's blog
https://frankgroeneveld.nl/2021/05/04/clean-up-html-class-attributes-in-ruby-on-rails/
links
backlinks
Tagged with:
programming
Roast topics
Find topics
Find it!
A new function that was introduced by Rails 6.1 will allow you to simplify html class attributes when they contain logic to be shown or hidden.