Skip to content

Commit

Permalink
Merge pull request #14808 from akalyaev/few-corrections-in-rails-init…
Browse files Browse the repository at this point in the history
…ialization-guides

Few corrections in Rails Initialization Guides
  • Loading branch information
fxn committed Apr 19, 2014
2 parents 5f72fc6 + 5facaca commit 92d92b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/initialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 92d92b0

Please sign in to comment.