instance method
missing?
Ruby on Rails 5.2.8.1
Since v3.0.20 Last seen in v5.2.8.1Available in: v3.0.20 v5.2.8.1
Signature
missing?()
Was the URL not found?
Source
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 32
def missing?
ActiveSupport::Deprecation.warn(<<-MSG.squish)
The missing? predicate is deprecated and will be removed in Rails 6.0.
Please use not_found? as provided by Rack::Response::Helpers.
MSG
not_found?
end
Defined in actionpack/lib/action_dispatch/testing/test_response.rb line 32
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::TestResponse