mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix URL rails-framework-hooks
This commit is contained in:
parent
4968eeb386
commit
7f178c83de
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ After reading this guide, you will know:
|
|||
Introduction to instrumentation
|
||||
-------------------------------
|
||||
|
||||
The instrumentation API provided by Active Support allows developers to provide hooks which other developers may hook into. There are several of these within the Rails framework, as described below in (TODO: link to section detailing each hook point). With this API, developers can choose to be notified when certain events occur inside their application or another piece of Ruby code.
|
||||
The instrumentation API provided by Active Support allows developers to provide hooks which other developers may hook into. There are several of these within the [Rails framework](#rails-framework-hooks). With this API, developers can choose to be notified when certain events occur inside their application or another piece of Ruby code.
|
||||
|
||||
For example, there is a hook provided within Active Record that is called every time Active Record uses an SQL query on a database. This hook could be **subscribed** to, and used to track the number of queries during a certain action. There's another hook around the processing of an action of a controller. This could be used, for instance, to track how long a specific action has taken.
|
||||
|
||||
|
|
Loading…
Reference in a new issue