aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-06-08 01:59:21 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-06-08 02:25:19 +0530
commit366ffd8164e6adc5bf6b8378763b0b75294a88ef (patch)
treee63edce5fab3402524a230917f9a59a756ee8365 /railties/guides
parentdc15a0f7d0d58b1b8017700791d0f03d621cfc0e (diff)
downloadrails-366ffd8164e6adc5bf6b8378763b0b75294a88ef.tar.gz
rails-366ffd8164e6adc5bf6b8378763b0b75294a88ef.tar.bz2
rails-366ffd8164e6adc5bf6b8378763b0b75294a88ef.zip
add missing generator configs
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/configuring.textile10
1 files changed, 7 insertions, 3 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index b9db51f509..526d2da7f6 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -131,15 +131,19 @@ end
The full set of methods that can be used in this block are as follows:
+* +assets+ allows to create assets on generating a scaffold. Defaults to +true+.
* +force_plural+ allows pluralized model names. Defaults to +false+.
* +helper+ defines whether or not to generate helpers. Defaults to +true+.
-* +orm+ defines which orm to use. Defaults to +nil_, so will use Active Record by default.
* +integration_tool+ defines which integration tool to use. Defaults to +nil+.
+* +javascripts+ turns on the hook for javascripts in generators. Used in Rails for when the +scaffold+ generator is ran. Defaults to +true+.
+* +javascript_engine+ configures the engine to be used (for eg. coffee) when generating assets. Defaults to +nil+.
+* +orm+ defines which orm to use. Defaults to +false+ and will use Active Record by default.
* +performance_tool+ defines which performance tool to use. Defaults to +nil+.
* +resource_controller+ defines which generator to use for generating a controller when using +rails generate resource+. Defaults to +:controller+.
* +scaffold_controller+ different from +resource_controller+, defines which generator to use for generating a _scaffolded_ controller when using +rails generate scaffold+. Defaults to +:scaffold_controller+.
-* +stylesheets+ turns on the hook for stylesheets in generators. Used in Rails for when the +scaffold+ generator is ran, but this hook can be used in other generates as well.
-* +test_framework+ defines which test framework to use. Defaults to +nil+, so will use Test::Unit by default.
+* +stylesheets+ turns on the hook for stylesheets in generators. Used in Rails for when the +scaffold+ generator is ran, but this hook can be used in other generates as well. Defaults to +true+.
+* +stylesheet_engine+ configures the stylesheet engine (for eg. sass) to be used when generating assets. Defaults to +:css+.
+* +test_framework+ defines which test framework to use. Defaults to +false+ and will use Test::Unit by default.
* +template_engine+ defines which template engine to use, such as ERB or Haml. Defaults to +:erb+.
h4. Configuring Middleware