This method is deprecated or moved on the latest stable version.
The last existing version (v3.0.9) is shown here.
has_flash?()
public
Do we have a flash?
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 67
def has_flash?
ActiveSupport::Deprecation.warn("response.has_flash? has been deprecated. Use flash.any? instead", caller)
!flash.empty?
end