diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2014-06-28 15:40:15 +0000 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2014-06-28 15:40:15 +0000 |
commit | 13770587ef7f909e53a000bfae790f92576a3d93 (patch) | |
tree | 7defa75a711abdcb76c60a6fc5c5c0366fc1b20d | |
parent | cad584e683e266d9f05c3b9c2a0240fc44b72cbf (diff) | |
parent | 092f53ef975e5bff0cbd1ae4006cfa691933b853 (diff) | |
download | rails-13770587ef7f909e53a000bfae790f92576a3d93.tar.gz rails-13770587ef7f909e53a000bfae790f92576a3d93.tar.bz2 rails-13770587ef7f909e53a000bfae790f92576a3d93.zip |
Merge branch 'master' of github.com:rails/docrails
-rw-r--r-- | guides/source/initialization.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/initialization.md b/guides/source/initialization.md index 00b2761716..02059151b6 100644 --- a/guides/source/initialization.md +++ b/guides/source/initialization.md @@ -301,7 +301,7 @@ def default_options end ``` -There is no `REQUEST_METHOD` key in `ENV` so we can skip over that line. The next line merges in the options from `opt_parser` which is defined plainly in `Rack::Server` +There is no `REQUEST_METHOD` key in `ENV` so we can skip over that line. The next line merges in the options from `opt_parser` which is defined plainly in `Rack::Server`: ```ruby def opt_parser @@ -559,7 +559,7 @@ initialized. When `config/application.rb` has finished loading Rails and defined the application namespace, we go back to `config/environment.rb`, where the application is initialized. For example, if the application was called `Blog`, here we would find `Rails.application.initialize!`, which is -defined in `rails/application.rb` +defined in `rails/application.rb`. ### `railties/lib/rails/application.rb` @@ -575,7 +575,7 @@ end ``` As you can see, you can only initialize an app once. The initializers are run through -the `run_initializers` method which is defined in `railties/lib/rails/initializable.rb` +the `run_initializers` method which is defined in `railties/lib/rails/initializable.rb`: ```ruby def run_initializers(group=:default, *args) |