Module: RubyLsp::Rails::Support::Callbacks
- Defined in:
- lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb
Constant Summary collapse
- MODELS =
[ "before_validation", "after_validation", "before_save", "around_save", "after_save", "before_create", "around_create", "after_create", "after_commit", "after_create_commit", "after_update_commit", "after_destroy_commit", "after_save_commit", "after_rollback", "before_update", "around_update", "after_update", "before_destroy", "around_destroy", "after_destroy", "after_initialize", "after_find", "after_touch", ].freeze
- CONTROLLERS =
[ "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", ].freeze
- JOBS =
[ "after_enqueue", "after_perform", "around_enqueue", "around_perform", "before_enqueue", "before_perform", ].freeze
- MAILBOX =
[ "after_processing", "before_processing", "around_processing", ].freeze
- ALL =
: Array
(MODELS + CONTROLLERS + JOBS + MAILBOX).freeze