Ruby on Rails latest stable (v4.2.7) - 0 notes - Class: ActionController::Flash::FlashHash

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

These similar methods exist in v4.2.7:

keep(k = nil) public

Keeps either the entire current flash or a specific flash entry available for the next action:

   flash.keep            # keeps the entire flash
   flash.keep(:notice)   # keeps only the "notice" entry, the rest of the flash is discarded
Show source
Register or log in to add new notes.