method

use

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 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 v7.1.3.2:

use(k=nil, v=true) private

Used internally by the keep and discard methods

    use()               # marks the entire flash as used
    use('msg')          # marks the "msg" entry as used
    use(nil, false)     # marks the entire flash as unused (keeps it around for one more action)
    use('msg', false)   # marks the "msg" entry as unused (keeps it around for one more action)
Show source
Register or log in to add new notes.