In Rails framework, The flash is a special part of the session which is cleared with each request. It is intended to be used for carrying request responses to views.