On this page
module AbstractController::Callbacks
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_actionappend_after_actionappend_around_actionappend_before_actionaround_actionbefore_actionprepend_after_actionprepend_around_actionprepend_before_actionskip_after_actionskip_around_actionskip_before_action
NOTE: Calling the same callback multiple times will overwrite previous callback definitions.
© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.