module Callbacks
Ruby on Rails 7.0.10
Since v3.0.20Abstract 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
NOTE: Calling the same callback multiple times will overwrite previous callback definitions.
Namespace
Modules
Includes
Extends
Private methods
(1)
Implementation detail — not part of the public API.
Used by
Included by (3)
Methods (inherited)
From ActiveSupport::Callbacks (1)
From ActiveSupport::Concern (3)
- # class_methods
- # included
- # prepended
From ActiveSupport::DescendantsTracker (8)
- # descendants
- # direct_descendants
- # inherited
- # subclasses
- self. descendants
- self. direct_descendants
- self. store_inherited
- self. subclasses