aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/initialization.textile
Commit message (Collapse)AuthorAgeFilesLines
* Reorganized initializers a bit to enable better hooks for common cases ↵wycats2010-05-151-2/+0
| | | | | | | | | | | | | | | without the need for Railtie. Specifically, the following hooks were added: * before_configuration: this hook is run immediately after the Application class comes into existence, but before the user has added any configuration. This is the appropriate place to set configuration for your plugin * before_initialize: This is run after all of the user's configuration has completed, but before any initializers have begun (in other words, it runs right after config/environments/{development,production,test}.rb) * after_initialize: This is run after all of the initializers have run. It is an appropriate place for forking in a preforking setup Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
* the names of Rails components have a space, eg "Active Record"Xavier Noria2010-04-251-77/+77
|
* Merge commit 'docrails/master'Xavier Noria2010-04-161-458/+24
|\
| * Begun documenting YourApp::Application and how it ties in with the backend.Ryan Bigg2010-04-141-0/+43
| |
| * Rip out bundler notes, they're now living at ↵Ryan Bigg2010-04-141-550/+3
| | | | | | | | http://github.com/radar/how-rails-works/raw/master/bundler.textile. It really needs its own guide.
| * More expansion on Bundler internals.Ryan Bigg2010-04-141-6/+76
| |
* | Bump rack-mount dependency to ~> 0.6.3 for CRITICAL FIXJeremy Kemper2010-04-161-2/+2
| |
* | Revert "Require rack-mount 0.6.0 since 0.6.1 and later can't be bundled"Jeremy Kemper2010-04-161-2/+2
| | | | | | | | | | | | They can be bundled. Just the git repos can't. Use rails/rack-mount for that. This reverts commit ef6cdc974f7c3d98eb0a3ad65761e10600f04110.
* | Require rack-mount 0.6.0 since 0.6.1 and later can't be bundledJeremy Kemper2010-04-141-2/+2
|/
* Merge commit 'docrails/master'Xavier Noria2010-04-141-6/+12
|\
| * Use <plain> instead of <text>Ryan Bigg2010-04-141-6/+12
| |
| * Expansion on require method from runtime.rbRyan Bigg2010-04-091-1/+36
| |
| * Continue expanding on Bundler.Ryan Bigg2010-04-091-0/+19
| |
| * Further work on the bundler section. Almost there now.Ryan Bigg2010-04-091-6/+111
| |
| * Mention a way to turn off bundler and begin talking about version_requirementsRyan Bigg2010-04-091-0/+4
| |
| * Further expansion into how Bundler loads the gemfile.Ryan Bigg2010-04-091-2/+49
| |
* | Use correct RUBY_PLATFORM regex for Windows env [#4385 state:resolved]Anil Wadghule2010-04-131-1/+1
| | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Expansion on require method from runtime.rbRyan Bigg2010-04-091-1/+36
| |
* | Continue expanding on Bundler.Ryan Bigg2010-04-091-0/+19
| |
* | Further work on the bundler section. Almost there now.Ryan Bigg2010-04-091-6/+111
| |
* | Mention a way to turn off bundler and begin talking about version_requirementsRyan Bigg2010-04-091-0/+4
| |
* | Further expansion into how Bundler loads the gemfile.Ryan Bigg2010-04-091-2/+49
|/
* Covered further what happens in config/application.rb. Mostly bundler stuff.Ryan Bigg2010-04-051-0/+277
|
* Further expansion on the Railties and moved Common Includes section to the ↵Ryan Bigg2010-04-051-83/+276
| | | | bottom.
* Further (re)work done. Mostly centering around ActionMailer Railtie and Lazy ↵Ryan Bigg2010-04-051-15/+139
| | | | Loading Hooks.
* Fix missing quote and remove core ext explanation.Ryan Bigg2010-03-311-25/+4
|
* More header shuffling, scope all the "Require Rails" sections INSIDE the ↵Ryan Bigg2010-03-311-96/+86
| | | | "Require Rails" section.
* Went through from the top down to line 650 fixing up discrepancies between ↵Ryan Bigg2010-03-311-150/+359
| | | | new rails and old guide.
* Fix headers so that the TOC generates, rails/subscriber is now ↵Ryan Bigg2010-03-311-19/+80
| | | | rails/log_subscriber and "Finish" ActionController Railtie.
* Adding the initialization guide to docrails.Ryan Bigg2010-03-281-0/+3095