annotate config/application.rb @ 16:fff788625214

Add basic hgignore.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 20:37:56 +0900
parents 498ec84a7790
children 157f7fd136fc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 require File.expand_path('../boot', __FILE__)
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