instance method
rendered
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20Signature
rendered()
Returns the template of the file which was used to render this response (or nil)
Source
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 55
def rendered
ActiveSupport::Deprecation.warn("response.rendered has been deprecated. Use template.rendered instead", caller)
@template.instance_variable_get(:@_rendered)
end
Defined in actionpack/lib/action_dispatch/testing/test_response.rb line 55
· View on GitHub
· Improve this page
· Find usages on GitHub