1 posts in total

Flash

Posts tagged

Adding close link to flash messages

by Syed Aslam · 1 min read

The flash provides a way to pass temporary objects between actions. Anything you place in the flash will be exposed to the very next action and then cleared out. This is a great way of doing notices and alerts, such as a create action that sets flash[:notice] = "Successfully crea ...