aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/app/templates/config/environments/generators.rb
blob: 1b426f5a05923e5ac7a8265cdd0fb46685d0374f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Settings specified here will take precedence over those in config/environment.rb

# No need to reload in generators environment, so do cache classes.
config.cache_classes = true

# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true

# Configure generators options (below are 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