pupeno.com
Ensuring the displaying of flash messages in Ruby on Rails
Ruby on Rails has a special object called flash which hold its contents for one more request. It’s particularly useful to show messages after a redirect. Since it’s good style to redire…