Tag: helpers
All the articles with the tag "helpers".
-
Formatting ActiveSupport::Duration Objects in Rails
Updated:Learn how to format ActiveSupport::Duration objects into concise, human-readable strings with locale support using the duration_in_words gem.
-
Dynamic Full Page Background Images in Rails
Updated:Learn how to set and randomize full-page background images in a Rails app using CSS3 and simple view helpers.
-
Highlighting Current Link in Rails Navigation
Updated:A look back at techniques for highlighting the active link in Rails navigation, with modern alternatives using current_page? and Stimulus.