Flash messages were one of those little features that amazed me when I was first introduced to Rails. Developers often use Rails' flash to display messages to their users, but messages aren't the only reason to use flash. A typical interaction with flash looks something like this in the controller: class OrdersController < ApplicationController def new @order = Order.new end def create @order = Or
![Non-Message Flash in Rails | Collective Idea](https://cdn-ak-scissors.b.st-hatena.com/image/square/69ee60f6d2d171e41f0d0049b04759341e97d06b/height=288;version=1;width=512/https%3A%2F%2Fcollectiveidea.com%2Fmeta%2Fshare.png)