OSDN Git Service

add translation ja
[tdcgexplorer/nimono.git] / config / application.rb
1 require File.expand_path('../boot', __FILE__)
2
3 # Pick the frameworks you want:
4 require "active_record/railtie"
5 require "action_controller/railtie"
6 require "action_mailer/railtie"
7 require "active_resource/railtie"
8 require "rails/test_unit/railtie"
9
10 # If you have a Gemfile, require the gems listed there, including any gems
11 # you've limited to :test, :development, or :production.
12 Bundler.require(:default, Rails.env) if defined?(Bundler)
13
14 module Nimono
15   class Application < Rails::Application
16     # Settings in config/environments/* take precedence over those specified here.
17     # Application configuration should go into files in config/initializers
18     # -- all .rb files in that directory are automatically loaded.
19   
20     # Add additional load paths for your own custom dirs
21     config.autoload_paths += %W( #{Rails.root}/lib )
22   
23     # Specify gems that this application depends on and have them installed with rake gems:install
24   
25     # Only load the plugins named here, in the order given (default is alphabetical).
26     # :all can be used as a placeholder for all plugins not explicitly named
27     # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
28   
29     # Skip frameworks you're not going to use. To use Rails without a database,
30     # you must remove the Active Record framework.
31     # config.frameworks -= [ :active_resource, :action_mailer ]
32   
33     # Activate observers that should always be running
34     # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
35     config.colorize_logging = false
36   
37     # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
38     # Run "rake -D time" for a list of tasks for finding time zone names.
39     config.time_zone = 'UTC'
40   
41     # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
42     # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')]
43     config.i18n.default_locale = :ja
44   end
45 end