diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-11-26 13:54:37 +1100 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-11-26 13:54:37 +1100 |
commit | 26837734d6f50684056e059dfe853653a8ec50d0 (patch) | |
tree | 1aad4db341df22da1547f4be81787cb479c4098f | |
parent | aab76ce199e14ad86ead6a45c60de297f60b1df6 (diff) | |
download | rails-26837734d6f50684056e059dfe853653a8ec50d0.tar.gz rails-26837734d6f50684056e059dfe853653a8ec50d0.tar.bz2 rails-26837734d6f50684056e059dfe853653a8ec50d0.zip |
Don't mention Rails 2.3, given that this is supposed to be a guide for Rails *3*.
-rw-r--r-- | railties/guides/source/configuring.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index 5ee8d0d0a3..952b20f586 100644 --- a/railties/guides/source/configuring.textile +++ b/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: |