instance method
render
Ruby on Rails 3.0.20
Since v3.0.20Signature
render(*args, &block)
Normalize arguments, options and then delegates render_to_body and sticks the result in self.response_body.
Parameters
-
argsrest -
blockblock
Source
# File actionpack/lib/abstract_controller/rendering.rb, line 92
def render(*args, &block)
self.response_body = render_to_string(*args, &block)
end
Defined in actionpack/lib/abstract_controller/rendering.rb line 92
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AbstractController::Rendering