Permalink
Browse files

Don't mention Rails 2.3, given that this is supposed to be a guide fo…

…r Rails *3*.
  • Loading branch information...
1 parent d16067d commit bc3d77b7d5e7d67f8f84466fdcc09682a7a95747 @radar radar committed with fxn Nov 26, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/guides/source/configuring.textile
@@ -23,10 +23,10 @@ To run some code before Rails itself is loaded, simply put it above the call to
h3. Configuring Rails Components
-In general, the work of configuring Rails means configuring the components of Rails, as well as configuring Rails itself. The +application.rb+ and environment-specific configuration files (such as +config/environments/production.rb+) allow you to specify the various settings that you want to pass down to all of the components. For example, the default Rails 2.3 +application.rb+ file includes one setting:
+In general, the work of configuring Rails means configuring the components of Rails, as well as configuring Rails itself. The +application.rb+ and environment-specific configuration files (such as +config/environments/production.rb+) allow you to specify the various settings that you want to pass down to all of the components. For example, the default Rails 3.0 +application.rb+ file includes this setting:
<ruby>
-config.filter_parameters << :password
+ config.filter_parameters += [:password]
</ruby>
This is a setting for Rails itself. If you want to pass settings to individual Rails components, you can do so via the same +config+ object:

0 comments on commit bc3d77b

Please sign in to comment.