method

skip_action_callback

Importance_1
v4.2.7 - Show latest stable - 0 notes - Class: AbstractController::Callbacks::ClassMethods
skip_action_callback(*names) public

Skip before, after, and around action callbacks matching any of the names.

Parameters

  • names - A list of valid names that could be used for callbacks. Note that skipping uses Ruby equality, so it’s impossible to skip a callback defined using an anonymous proc using #skip_action_callback

Show source
Register or log in to add new notes.