I have the following code in a Rails controller:
flash.now[:notice] = \'Successfully checked in\' redirect_to check_in_path
Then in the /check_
I had the same problem, and your question solved mine, because I had forgotten to include in the /check_in view:
<%= notice %>
In the controller, just a single line:
redirect_to check_in_path, :notice => "Successfully checked in"