Flowdock
method

render

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods
render(*options_for_render) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 989
            def render(*options_for_render)
              old_format = @context && @context.template_format
              @context.template_format = :html if @context
              Hash === options_for_render.first ?
                @context.render(*options_for_render) :
                  options_for_render.first.to_s
            ensure
              @context.template_format = old_format if @context
            end
Register or log in to add new notes.