This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.
has_flash_object?(name=nil)
Does the specified flash object exist?
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 79 def has_flash_object?(name=nil) ActiveSupport::Deprecation.warn("response.has_flash_object? has been deprecated. Use flash[name] instead", caller) !flash[name].nil? end