There's no documentation for this item.
| Public Attributes |
| _benchmarks |
Holds internal execution times. Prefaced with an underscore to not conflict
with user-defined controller instance variables.
|
| thrown_content |
Holds internal execution times. Prefaced with an underscore to not conflict
with user-defined controller instance variables.
|
| Protected Methods |
| after |
Specify after filters in your controllers. If a method name is given that
method will be called and if a proc is given it will be called with an
argument of self where self is the current controller object. When you use
a proc as a filter it needs to take one parameter.
|
| before |
Specify before filters in your controllers. If a method name is given that
method will be called and if a proc is given it will be called with an
argument of self where self is the current controller object. When you use
a proc as a filter it needs to take one parameter.
|
| call_action |
|
| call_filters |
Calls a filter chain according to rules.
|
| content_type |
Returns the content type.
|
| content_type_set? |
Set here to respond when rendering to cover the provides syntax of setting
the content_type
|
| default_thrown_content |
|
| filters_halted |
Override this method on your controller classes to specialize the output
when the filter chain is halted.
|
| finalize_session |
finalize_session is called at the end of a request to
finalize/store any data placed in the session. Mixins/Classes wishing to
define a new session store must implement this method. See
merb/lib/sessions/* for examples of built in session stores.
|
| setup_session |
setup_session is called at the beginning of a request to load the
current session data. Mixins/Classes wishing to define a new session store
must implement this method. See merb/lib/sessions/* for examples of built
in session stores.
|
| skip_after |
Remove an already declared after filter from your controller.
|
| skip_before |
Remove an already declared before filter from your controller.
|
| Private Methods |
| add_filter |
Adds a filter to a list of filters.
|
| shuffle_filters! |
Changes filter options hash values for the only and exclude keys to arrays,
if they are not arrays already.
|
| skip_filter |
Removes a filter from a list of filters.
|
<code/>and<pre/>for code samples.