diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-08 12:55:50 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-08 12:55:50 +0200 |
commit | 09c288f0c5b5f9da4473bb321cccb766d9f59d7e (patch) | |
tree | d12cb86acdbe32ca2c6c9971ff9921360a02b1ef /railties/lib/generators/rails/app/templates/config/environments | |
parent | c9ea21717eefb9e9b49891c519cc4d121ef7bb74 (diff) | |
download | rails-09c288f0c5b5f9da4473bb321cccb766d9f59d7e.tar.gz rails-09c288f0c5b5f9da4473bb321cccb766d9f59d7e.tar.bz2 rails-09c288f0c5b5f9da4473bb321cccb766d9f59d7e.zip |
Add the new generators environment and update commands.
Diffstat (limited to 'railties/lib/generators/rails/app/templates/config/environments')
-rw-r--r-- | railties/lib/generators/rails/app/templates/config/environments/generators.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/railties/lib/generators/rails/app/templates/config/environments/generators.rb b/railties/lib/generators/rails/app/templates/config/environments/generators.rb new file mode 100644 index 0000000000..503a281e20 --- /dev/null +++ b/railties/lib/generators/rails/app/templates/config/environments/generators.rb @@ -0,0 +1,19 @@ +# Settings specified here will take precedence over those in config/environment.rb + +# Cache classes and log when you accidentally call methods on nil. +config.cache_classes = false +config.whiny_nils = true + +# We do not need any framework on generators. They are loaded on demand. +config.frameworks.clear + +# Configure generators. Below you have the default values, delete them if you want. +config.generators do |g| + g.helper = true + g.layout = true + g.orm = :active_record + g.stylesheets = true + g.template_engine = :erb + g.test_framework = :test_unit + g.timestamps = true +end |