Class Index [+]

Quicksearch

ActionController::Rendering

Public Instance Methods

render_to_string(*) click to toggle source

Overwrite render_to_string because body can now be set to a rack body.

    # File lib/action_controller/metal/rendering.rb, line 22
22:     def render_to_string(*)
23:       if self.response_body = super
24:         string = ""
25:         response_body.each { |r| string << r }
26:         string
27:       end
28:     ensure
29:       self.response_body = nil
30:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.