localize

localize(*args) Instance Public methods Delegates to I18n.localize. Also aliased as l. l

l

l(*args) Instance Public methods Alias for: localize

view_assigns

view_assigns() Instance Public methods This method should return a hash with assigns. You can overwrite this configuration per controller. :api: public

rendered_format

rendered_format() Instance Public methods Returns Content-Type of rendered content :api: public

render_to_string

render_to_string(*args, &block) Instance Public methods Raw rendering of a template to a string. It is similar to render, except that it does not set the response_body and it should be guaranteed to always return a string. If a component extends the semantics of response_body (as Action Controller extends it to be anything that responds to the method each), this method needs to be overridden in order to still return a string. :api: plugin

render_to_body

render_to_body(options = {}) Instance Public methods Performs the actual template rendering. :api: public

render

render(*args, &block) Instance Public methods Normalize arguments, options and then delegates #render_to_body and sticks the result in self.response_body. :api: public

_process_options

_process_options(options) Instance Public methods Process extra options. :api: plugin

_process_format

_process_format(format, options = {}) Instance Public methods Process the rendered format. :api: private

_normalize_render

_normalize_render(*args, &block) Instance Public methods Normalize args and options. :api: private