Track Deployments with Rails.app.revision
Rails 8.2 adds Rails.app.revision for deployment tracking, error reporting, and cache busting.
14 articles on Rails, Ruby, and web development
Rails 8.2 adds Rails.app.revision for deployment tracking, error reporting, and cache busting.
Rails adds a convenient method to extract bearer tokens from the Authorization header in API requests.
Jobs now enqueue after transaction commit by default, preventing jobs from running against uncommitted or rolled-back records.
A common Rails gotcha where uniqueness validations with scope fail when using nested attributes, and how to work around it.
Creating a recently viewed pages list can significantly enhance the user experience by providing easy navigation and a history of recently accessed content.
A step-by-step tutorial on how we extract code from our Rails app, package it into a gem, and publish it on RubyGems.org
Updating the mail gem breaks Mail#address_list - here's how to fix it.
Learn how to integrate a third-party JavaScript upload library with ActiveStorage for a smooth file upload experience.
Learn how to use the Enumerator::product method for generating Cartesian products in Ruby 3.2.
For apps not needing Stimulus.js and just using Turbo, the Alpine.js framework offers the right amount of JavaScript to make your apps sparkle.