mail_to

mail_to(email_address, name = nil, html_options = {}, &block) Instance Public methods Creates a mailto link tag to the specified email_address, which is also used as the name of the link unless name is specified. Additional HTML attributes for the link can be passed in html_options. mail_to has several methods for customizing the email itself by passing special keys to html_options. Options :subject - Preset the subject line of the email. :body - Preset the body of the email

layout

layout(layout, conditions = {}) Instance Public methods Specify the layout to use for this class. If the specified layout is a: String the String is the template name Symbol call the method specified by the symbol, which will return the template name false There is no layout true raise an ArgumentError nil Force default layout behavior with inheritance Parameters layout - The layout to use. Options (conditions) :only - A list of actions to apply this layout

action_has_layout?

action_has_layout?() Instance Public methods Controls whether an action should be rendered using a layout. If you want to disable any layout settings for the current action so that it is rendered without a layout then either override this method in your controller to return false for that action or set the action_has_layout attribute to false before rendering.

new

new() Class Public methods

logger

logger() Instance Public methods

render_collection

render_collection(event) Instance Public methods Alias for: render_template

render_partial

render_partial(event) Instance Public methods Alias for: render_template

render_template

render_template(event) Instance Public methods Also aliased as: render_partial, render_collection

from_rails_root

from_rails_root(string) Instance Protected methods

rails_root

rails_root() Instance Protected methods