rails/railties/guides/source
wycats 9cfeefb637 Reorganized initializers a bit to enable better hooks for common cases 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.
2010-05-15 06:09:07 -07:00
..
2_2_release_notes.textile Fix 2_2_release_notes so it validates XHTML 1.0 Strict 2010-04-06 12:10:24 +02:00
2_3_release_notes.textile s/guides.rails.info/edgeguides.rubyonrails.org/ in a few places, and makes some links relative to work in either site 2010-03-19 21:39:42 +01:00
3_0_release_notes.textile Updates bundler information, now bundler has a homepage 2010-05-08 21:41:41 -03:00
action_controller_overview.textile Change %5b ([) to %5d (]) in escaped URL 2010-04-29 15:06:31 +02:00
action_mailer_basics.textile the names of Rails components have a space, eg "Active Record" 2010-04-25 20:40:39 +02:00
action_view_overview.textile More on the new ERB syntax in the guides 2010-04-09 04:45:02 -07:00
active_record_basics.textile Merge docrails 2010-01-17 03:26:20 +05:30
active_record_querying.textile typo 'main.cs' -> 'main.css', and textile typo 'h6(:has_many-group)' -> 'h6(#has_many-group)', and typo. missing 'if' 2010-05-04 19:31:32 +02:00
active_support_core_extensions.textile defines prev_(month|year) in Date and Time to ease transition to 1.9, and deprecates last_(month|year) 2010-05-12 23:04:17 +02:00
activerecord_validations_callbacks.textile Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax for I18n 2010-05-03 13:37:32 +02:00
ajax_on_rails.textile Merge docrails 2010-01-17 03:26:20 +05:30
association_basics.textile typo 'main.cs' -> 'main.css', and textile typo 'h6(:has_many-group)' -> 'h6(#has_many-group)', and typo. missing 'if' 2010-05-04 19:31:32 +02:00
caching_with_rails.textile caching guide: fixes a typo, thanks to Jonathan Bryan 2010-02-24 01:34:04 +01:00
command_line.textile Rails 3.0.0 version bootup messages 2010-04-19 12:35:59 -03:00
configuring.textile Replace 'RAILS_ROOT' to 'Rails.root' and 'RAILS_ENV' to 'Rails.env' in significant places. 2010-04-12 22:53:49 +05:30
contribute.textile guides assets are now centralized in the assets directory, with standard subdirs 2010-04-04 02:30:31 -07:00
contributing_to_rails.textile Fix contributing_to_rails guide so that it validates XHTML 1.0 Strict 2010-04-06 17:42:36 +02:00
credits.html.erb Fixing typo in guide, updating ActionMailer description and making the contributors list alphabetical 2010-04-25 17:22:39 +10:00
debugging_rails_applications.textile Replace 'RAILS_ROOT' to 'Rails.root' and 'RAILS_ENV' to 'Rails.env' in significant places. 2010-04-12 22:53:49 +05:30
form_helpers.textile Added a note in the section on complex forms regarding nested attributes in 2.3 2010-04-15 17:04:00 -05:00
generators.textile Updated the generators guide. 2010-04-30 12:50:42 +02:00
getting_started.textile Updated guide to inform issues with unsupported Ruby versions. 2010-05-06 01:26:25 +05:30
i18n.textile Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax for I18n 2010-05-03 13:37:32 +02:00
index.html.erb guides index: punctuation 2010-04-30 21:22:57 +02:00
initialization.textile Reorganized initializers a bit to enable better hooks for common cases without the need for Railtie. Specifically, the following hooks were added: 2010-05-15 06:09:07 -07:00
layout.html.erb Add generators to the guides and break out an extensions section 2010-04-30 11:52:04 -07:00
layouts_and_rendering.textile image_tag should be audio_tag, and change typo 'image' to 'audio file' 2010-05-04 19:31:41 +02:00
migrations.textile migration, correct file and created a code sample out of it. 2010-05-07 00:03:16 -07:00
nested_model_forms.textile More on the new ERB syntax in the guides 2010-04-09 04:45:02 -07:00
performance_testing.textile Changed versions to ruby 1.8.7 and Rails 3.0.0 2010-04-19 13:50:59 -03:00
plugins.textile fix format 2010-04-30 23:19:44 +02:00
rails_application_templates.textile Replace 'RAILS_ROOT' to 'Rails.root' and 'RAILS_ENV' to 'Rails.env' in significant places. 2010-04-12 22:53:49 +05:30
rails_on_rack.textile Rails on Rack Rails guide: indicate that Metal pieces now require an "X-Cascade" header with a value of "pass" to continue the Metal chain execution instead of a HTTP 404 response. Also removed reference to old code. 2010-04-19 18:29:18 +08:00
routing.textile Use <plain>, not <pre> in guides 2010-04-10 17:35:31 -04:00
security.textile fixes duplicate element IDs in some guides 2010-04-04 08:42:54 -07:00
testing.textile fix font formats and code examples indentation 2010-04-26 22:32:10 +02:00