Module: AbstractController::Callbacks

Overview

# Abstract Controller Callbacks

Abstract Controller provides hooks during the life cycle of a controller action. Callbacks allow you to trigger logic during this cycle. Available callbacks are:

  • ‘after_action`

  • ‘append_after_action`

  • ‘append_around_action`

  • ‘append_before_action`

  • ‘around_action`

  • ‘before_action`

  • ‘prepend_after_action`

  • ‘prepend_around_action`

  • ‘prepend_before_action`

  • ‘skip_after_action`

  • ‘skip_around_action`

  • ‘skip_before_action`

Defined Under Namespace

Modules: ClassMethods Classes: ActionFilter

Constant Summary

Constants included from ActiveSupport::Callbacks

ActiveSupport::Callbacks::CALLBACK_FILTER_TYPES

Method Summary

Methods included from ActiveSupport::Concern

append_features, class_methods, extended, included, prepend_features, prepended

Methods included from ActiveSupport::Callbacks

#run_callbacks