Action View

Rails 6.1

Rails 6.1 introduces class_names helper

Rails 6.1 makes it easier to add conditional class names to the HTML element.

Read