aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/engines.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-04-11 18:48:53 -0400
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-04-11 18:48:53 -0400
commitd4692c92c306184a5f96fff4b38f52e1fc3ee395 (patch)
treed7f81c4f46aeeb0779a6c0e3a0c29aace31b0a92 /guides/source/engines.md
parent15c4306cf12539d1b307774b26e1eff6081ba732 (diff)
downloadrails-d4692c92c306184a5f96fff4b38f52e1fc3ee395.tar.gz
rails-d4692c92c306184a5f96fff4b38f52e1fc3ee395.tar.bz2
rails-d4692c92c306184a5f96fff4b38f52e1fc3ee395.zip
:scissors:
[ci skip]
Diffstat (limited to 'guides/source/engines.md')
-rw-r--r--guides/source/engines.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index c7aedd2987..2276f348a1 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -1417,7 +1417,7 @@ Active Support On Load Hooks
Active Support is the Ruby on Rails component responsible for providing Ruby language extensions, utilities, and other transversal utilities.
-Rails code can often be referenced on load of an application. Rails is responsible for the load order of these frameworks, so when you load frameworks, such as `ActiveRecord::Base`, prematurely you are violating an implicit contract your application has with Rails. Moreover, by loading code such as `ActiveRecord::Base` on boot of your application you are loading entire frameworks which may slow down your boot time and could cause conflicts with load order and boot of your application.
+Rails code can often be referenced on load of an application. Rails is responsible for the load order of these frameworks, so when you load frameworks, such as `ActiveRecord::Base`, prematurely you are violating an implicit contract your application has with Rails. Moreover, by loading code such as `ActiveRecord::Base` on boot of your application you are loading entire frameworks which may slow down your boot time and could cause conflicts with load order and boot of your application.
On Load hooks are the API that allow you to hook into this initialization process without violating the load contract with Rails. This will also mitigate boot performance degradation and avoid conflicts.