Syed AslamReporting ActiveSupport::Duration in concise human readable formatsCurrently, there is no direct way to format ActiveSupport::Duration objects in Rails. You’d have to resort to using the #inspect, which…Feb 9, 2023Feb 9, 2023
Syed AslamDynamic Full Page Background Images in RailsYou can set a background image purely through CSS thanks to the background-size property in CSS3. Using the html element is better than the…Feb 9, 2023Feb 9, 2023
Syed Aslammodule functions in RubyTwo simplest and best known ways of creating module functions that may be called with the module as a receiver in Ruby.Nov 28, 2021Nov 28, 2021