diff options
author | Xavier Noria <fxn@hashref.com> | 2014-04-19 13:06:32 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2014-04-19 13:06:32 +0200 |
commit | 92d92b0d8673ff948df64c92de11e5e2bc5af3b7 (patch) | |
tree | 1c0d22e1e8e31ffb1444919072aad357c42ab031 /guides | |
parent | 5f72fc6af8ad19df2b4e4f442b9ab17dd6846f46 (diff) | |
parent | 5facaca7d8790ef3f268efe8b275feaf93728815 (diff) | |
download | rails-92d92b0d8673ff948df64c92de11e5e2bc5af3b7.tar.gz rails-92d92b0d8673ff948df64c92de11e5e2bc5af3b7.tar.bz2 rails-92d92b0d8673ff948df64c92de11e5e2bc5af3b7.zip |
Merge pull request #14808 from akalyaev/few-corrections-in-rails-initialization-guides
Few corrections in Rails Initialization Guides
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/initialization.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/initialization.md b/guides/source/initialization.md index 77f3615ca0..00b2761716 100644 --- a/guides/source/initialization.md +++ b/guides/source/initialization.md @@ -587,7 +587,7 @@ def run_initializers(group=:default, *args) end ``` -The run_initializers code itself is tricky. What Rails is doing here is +The `run_initializers` code itself is tricky. What Rails is doing here is traversing all the class ancestors looking for those that respond to an `initializers` method. It then sorts the ancestors by name, and runs them. For example, the `Engine` class will make all the engines available by @@ -642,7 +642,7 @@ def build_app(app) end ``` -Remember, `build_app` was called (by wrapped_app) in the last line of `Server#start`. +Remember, `build_app` was called (by `wrapped_app`) in the last line of `Server#start`. Here's how it looked like when we left: ```ruby |