tôi đang tìm kiếm điều tương tự. Có vẻ như không có tài liệu về điều này, vì vậy tôi đã duyệt mã và biên soạn danh sách sau.
Lưu ý rằng các nhà điều hành ===
được sử dụng cho phù hợp, vì vậy bạn có thể sử dụng một chuỗi hoặc một regex khi đăng ký
receive.action_mailer
deliver.action_mailer
write_fragment.action_controller
read_fragment.action_controller
exist_fragment?.action_controller
expire_fragment.action_controller
expire_page.action_controller
write_page.action_controller
start_processing.action_controller
process_action.action_controller
send_file.action_controller
send_data.action_controller
redirect_to.action_controller
halted_callback.action_controller
render_collection.action_view
render_partial.action_view
render_template.action_view
!render_template.action_view
sql.active_record
cache_read.active_support
cache_fetch_hit.active_support
cache_generate.active_support
cache_write.active_support
cache_delete.active_support
cache_exist?.active_support
deprecation.rails
render
Cảm ơn bạn rất nhiều :) Đây là nó! –