Preserving Flash Messages in Rails - Kevin Murphy
22-Mar-2025 57
We’re offering our best deals on select products for a limited time. We’re going to link to this flash sale from many different pages on our site. The call-to-action (CTA) we display at the top of the flash sale page will change based on which page you access the flash sale from.
We’re going to store that text in a flash message. For example, let’s say you’re looking for the contact information for everyone at the shop. If you click a link on that page to visit the flash sale, we reference that you were just on the contact page.
Preserving Flash Messages in Rails - Kevin Murphy #ruby #rubydeveloper #rubyonrails #Preserving #Flash #Messages #Rails #Kevin #Murphy https://rubyonrails.ba/link/preserving-flash-messages-in-rails-kevin-murphy