Module AbstractController::Rendering
In: lib/abstract_controller/rendering.rb

Methods

Included Modules

AbstractController::ViewPaths

Classes and Modules

Module AbstractController::Rendering::ClassMethods

Attributes

view_context_class  [W] 

Public Class methods

Public Instance methods

The prefix used in render "foo" shortcuts.

Normalize arguments, options and then delegates render_to_body and sticks the result in self.response_body.

Raw rendering of a template to a Rack-compatible body. :api: plugin

Raw rendering of a template to a string. Just convert the results of render_to_body into a String. :api: plugin

An instance of a view class. The default view class is ActionView::Base

The view class must have the following methods: View.new[lookup_context, assigns, controller]

  Create a new ActionView instance for a controller

View#render[options]

  Returns String with the rendered template

Override this method in a module to change the default behavior.

[Validate]