annotate config/application.rb @ 24:c1783bab9035

Mark optional settings.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 23:36:55 +0900
parents 157f7fd136fc
children 03f904c070f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
157f7fd136fc Double quotes everywhere.
edogawaconan <me@myconan.net>
parents: 12
diff changeset
1 require File.expand_path("../boot", __FILE__)
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 # Pick the frameworks you want:
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 require "active_model/railtie"
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 # require "active_record/railtie"
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 require "action_controller/railtie"
1
dac0d7297388 Remove ActionMailer.
edogawaconan <me@myconan.net>
parents: 0
diff changeset
7 # require "action_mailer/railtie"
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 require "action_view/railtie"
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 # require "sprockets/railtie"
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 require "rails/test_unit/railtie"
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
11
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
12 # Require the gems listed in Gemfile, including any gems
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 # you've limited to :test, :development, or :production.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 Bundler.require(*Rails.groups)
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
15
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
16 module Rsstweet
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
17 class Application < Rails::Application
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
18 # Settings in config/environments/* take precedence over those specified here.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
19 # Application configuration should go into files in config/initializers
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
20 # -- all .rb files in that directory are automatically loaded.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
21
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
22 # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
23 # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
24 # config.time_zone = 'Central Time (US & Canada)'
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
25
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
26 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
27 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
28 # config.i18n.default_locale = :de
12
498ec84a7790 No need to add cookie handler.
edogawaconan <me@myconan.net>
parents: 1
diff changeset
29 config.middleware.delete "ActionDispatch::Cookies"
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
30 end
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
31 end