|
| 1 | +require File.expand_path('../boot', __FILE__) |
| 2 | + |
| 3 | +require 'rails/all' |
| 4 | + |
| 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) |
| 8 | + |
| 9 | +module Rou |
| 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. |
| 14 | + |
| 15 | + # Custom directories with classes and modules you want to be autoloadable. |
| 16 | + # config.autoload_paths += %W(#{config.root}/extras) |
| 17 | + |
| 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 ] |
| 21 | + |
| 22 | + # Activate observers that should always be running. |
| 23 | + # config.active_record.observers = :cacher, :garbage_collector, :forum_observer |
| 24 | + |
| 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)' |
| 28 | + |
| 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 |
| 32 | + |
| 33 | + # JavaScript files you want as :defaults (application.js is always included). |
| 34 | + # config.action_view.javascript_expansions[:defaults] = %w(jquery rails) |
| 35 | + |
| 36 | + # Configure the default encoding used in templates for Ruby 1.9. |
| 37 | + config.encoding = "utf-8" |
| 38 | + |
| 39 | + # Configure sensitive parameters which will be filtered from the log file. |
| 40 | + config.filter_parameters += [:password] |
| 41 | + end |
| 42 | +end |
0 commit comments