File: //usr/local/rvm/gems/ruby-2.5.9/doc/actionpack-6.1.4.1/ri/ActionController/Renderer/render-i.ri
U:RDoc::AnyMethod[iI"render:ETI"&ActionController::Renderer#render;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"TRender templates with any options from ActionController::Base#render_to_string.;To:RDoc::Markup::BlankLine o;
; [I"The primary options are:;To:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o;
; [I"N<tt>:partial</tt> - See <tt>ActionView::PartialRenderer</tt> for details.;To;;0; [o;
; [I"i<tt>:file</tt> - Renders an explicit template file. Add <tt>:locals</tt> to pass in, if so desired. ;TI"[It shouldn’t be used directly with unsanitized user input due to lack of validation.;To;;0; [o;
; [I"7<tt>:inline</tt> - Renders an ERB template string.;To;;0; [o;
; [I"^<tt>:plain</tt> - Renders provided text and sets the content type as <tt>text/plain</tt>.;To;;0; [o;
; [I"G<tt>:html</tt> - Renders the provided HTML safe string, otherwise ;TI"[performs HTML escape on the string first. Sets the content type as <tt>text/html</tt>.;To;;0; [o;
; [I"M<tt>:json</tt> - Renders the provided hash or object in JSON. You don't ;TI"Eneed to call <tt>.to_json</tt> on the object you want to render.;To;;0; [o;
; [I"Y<tt>:body</tt> - Renders provided text and sets content type of <tt>text/plain</tt>.;T@o;
; [I"UIf no <tt>options</tt> hash is passed or if <tt>:update</tt> is specified, then:;T@o;
; [I"\If an object responding to +render_in+ is passed, +render_in+ is called on the object, ;TI")passing in the current view context.;T@o;
; [I"TOtherwise, a partial is rendered using the second parameter as the locals hash.;T:
@fileI"&lib/action_controller/renderer.rb;T:0@omit_headings_from_table_of_contents_below000[[I"render_to_string;To;; [ ;@D;0I"(*args);T@DFI"
Renderer;TcRDoc::NormalClass00