What's the correct way to set a flash message for the current view but not show it for the next request. In other words usually you set the flash message and redirect and the flash message gets shown on the redirect. I don't want to redirect and so I need to make sure the flash message doesn't get shown twice.
flash.now[:notice] = 'message'
1.4m articles
1.4m replys
5 comments
57.0k users