available_action?

available_action?(action_name) Instance Public methods Returns true if a method for the action is available and can be dispatched, false otherwise. Notice that action_methods.include?("foo") may return false and available_action?("foo") returns true because this method considers actions that are also available through other means, for example, implicit render ones. Parameters action_name - The name of an action to be tested Returns TrueClass, FalseClass

controller_path 2

controller_path() Instance Public methods Delegates to the class' controller_path

process

process(action, *args) Instance Public methods Calls the action going through the entire action dispatch stack. The actual method that is called is determined by calling method_for_action. If no method can handle the action, then an ActionNotFound error is raised. Returns self

_insert_callbacks

_insert_callbacks(callbacks, block = nil) Instance Public methods Take callback names and an optional callback proc, normalize them, then call the block with each callback. This allows us to abstract the normalization across several methods that use it. Parameters callbacks - An array of callbacks, with an optional options hash as the last parameter. block - A proc that should be added to the callbacks. Block Parameters name - The callback to be added options - A h

_normalize_callback_options

_normalize_callback_options(options) Instance Public methods If :only or :except are used, convert the options into the :unless and :if options of ActiveSupport::Callbacks. The basic idea is that :only => :index gets converted to :if => proc {|c| c.action_name == âindexâ }. Options only - The callback should be run only for this action except - The callback should be run for all actions except this action

after_action

after_action(names, block) Instance Public methods Append a callback after actions. See #_insert_callbacks for parameter details. Aliased as after_filter.

append_after_action

append_after_action(names, block) Instance Public methods Append a callback after actions. See #_insert_callbacks for parameter details. Aliased as append_after_filter.

append_around_action

append_around_action(names, block) Instance Public methods Append a callback around actions. See #_insert_callbacks for parameter details. Aliased as append_around_filter.

append_before_action

append_before_action(names, block) Instance Public methods Append a callback before actions. See #_insert_callbacks for parameter details. Aliased as append_before_filter.

around_action

around_action(names, block) Instance Public methods Append a callback around actions. See #_insert_callbacks for parameter details. Aliased as around_filter.