Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

render to string rails

render_to_string(options = nil, &block) protected
Renders according to the same rules as render, but returns the result in a string instead of sending it as the response body to the browser.
Source by apidock.com #
 
PREVIOUS NEXT
Tagged: #render #string #rails
ADD COMMENT
Topic
Name
4+1 =