# File 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