Skip to content

Commit

Permalink
Recognize aliases for after_commit (#402)
Browse files Browse the repository at this point in the history
* Recognize aliases for `after_commit`

* Update lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb

Co-authored-by: Vinicius Stock <[email protected]>

---------

Co-authored-by: Vinicius Stock <[email protected]>
  • Loading branch information
andyw8 and vinistock authored Jun 20, 2024
1 parent 9be01d0 commit 5704d93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ module Callbacks
"around_create",
"after_create",
"after_commit",
"after_create_commit",
"after_update_commit",
"after_destroy_commit",
"after_save_commit",
"after_rollback",
"before_update",
"around_update",
Expand Down

0 comments on commit 5704d93

Please sign in to comment.