Answers for "render_to_string in rails with example"

0

render partial rails

<%= render "shared/menu" %>
Posted by: Guest on December-12-2020
0

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.
Posted by: Guest on April-26-2020

Browse Popular Code Answers by Language