Automating a redirect_to / flash cleanup ·
If you're like me and have an application with some pockets of very outdated Rails idioms, you may have code like this in your controllers:.
Automating a redirect_to / flash cleanup · #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/automating-a-redirect_to-flash-cleanup