diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-12-08 23:11:37 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-12-08 23:11:37 +0530 |
commit | 0a33fcd68bb2c56b8c2eba066f343484a44fa588 (patch) | |
tree | d54d667ff16f99274fdec0edaf7df98bf8eba6ef /guides/source/configuring.md | |
parent | 1233fc6de145932f3cd46c784ea78234cfa743b2 (diff) | |
parent | 729798068a54dbbe553c71f0283cb6ad74c2e77c (diff) | |
download | rails-0a33fcd68bb2c56b8c2eba066f343484a44fa588.tar.gz rails-0a33fcd68bb2c56b8c2eba066f343484a44fa588.tar.bz2 rails-0a33fcd68bb2c56b8c2eba066f343484a44fa588.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r-- | guides/source/configuring.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index dba2be3b71..446f767f0c 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -5,8 +5,8 @@ This guide covers the configuration and initialization features available to Rai After reading this guide, you will know: -* Adjust the behavior of your Rails applications. -* Add additional code to be run at application start time. +* How to adjust the behavior of your Rails applications. +* How to add additional code to be run at application start time. -------------------------------------------------------------------------------- @@ -135,8 +135,6 @@ These configuration methods are to be called on a `Rails::Railtie` object, such ### Configuring Assets -Rails 3.1 and up, by default, is set up to use the `sprockets` gem to manage assets within an application. This gem concatenates and compresses assets in order to make serving them much less painful. - * `config.assets.enabled` a flag that controls whether the asset pipeline is enabled. It is explicitly initialized in `config/application.rb`. * `config.assets.compress` a flag that enables the compression of compiled assets. It is explicitly set to true in `config/production.rb`. @@ -165,7 +163,7 @@ Rails 3.1 and up, by default, is set up to use the `sprockets` gem to manage ass ### Configuring Generators -Rails 3 allows you to alter what generators are used with the `config.generators` method. This method takes a block: +Rails allows you to alter what generators are used with the `config.generators` method. This method takes a block: ```ruby config.generators do |g| |