This method is deprecated or moved on the latest stable version.
The last existing version (v3.0.9) is shown here.
flash()
public
A shortcut to the flash.
Returns an empty hash if no sessionflash
exists.
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 61
def flash
ActiveSupport::Deprecation.warn("response.flash has been deprecated. Use request.flash instead", caller)
request.session['flash'] || {}
end