Skip to content

Commit 5704d93

Browse files
andyw8vinistock
andauthored
Recognize aliases for after_commit (#402)
* 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]>
1 parent 9be01d0 commit 5704d93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ module Callbacks
1616
"around_create",
1717
"after_create",
1818
"after_commit",
19+
"after_create_commit",
20+
"after_update_commit",
21+
"after_destroy_commit",
22+
"after_save_commit",
1923
"after_rollback",
2024
"before_update",
2125
"around_update",

0 commit comments

Comments
 (0)