unicorn 4.3.1 - shutdown() fixes
[unicorn.git] / t / rails3-app / config / application.rb
blobf970176380f004790accc23b4359703a978560d0
1 require File.expand_path('../boot', __FILE__)
3 require 'rails/all'
5 # If you have a Gemfile, require the gems listed there, including any gems
6 # you've limited to :test, :development, or :production.
7 Bundler.require(:default, Rails.env) if defined?(Bundler)
9 module App
10   class Application < Rails::Application
11     # Settings in config/environments/* take precedence over those specified here.
12     # Application configuration should go into files in config/initializers
13     # -- all .rb files in that directory are automatically loaded.
15     # Add additional load paths for your own custom dirs
16     # config.load_paths += %W( #{config.root}/extras )
18     # Only load the plugins named here, in the order given (default is alphabetical).
19     # :all can be used as a placeholder for all plugins not explicitly named
20     # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
22     # Activate observers that should always be running
23     # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
25     # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
26     # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
27     # config.time_zone = 'Central Time (US & Canada)'
29     # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
30     # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
31     # config.i18n.default_locale = :de
33     # Configure generators values. Many other options are available, be sure to check the documentation.
34     # config.generators do |g|
35     #   g.orm             :active_record
36     #   g.template_engine :erb
37     #   g.test_framework  :test_unit, :fixture => true
38     # end
40     # Configure the default encoding used in templates for Ruby 1.9.
41     config.encoding = "utf-8"
43     # Configure sensitive parameters which will be filtered from the log file.
44     config.filter_parameters += [:password]
45   end
46 end