Mercurial > rsstweet
annotate config/application.rb @ 35:6267a4188c05
Welcome to rails 4.2.
author | edogawaconan <me@myconan.net> |
---|---|
date | Thu, 11 Dec 2014 15:38:23 +0900 |
parents | 9defe1ae5814 |
children | 1fdb3fc5ec31 |
rev | line source |
---|---|
19 | 1 require File.expand_path("../boot", __FILE__) |
0 | 2 |
3 # Pick the frameworks you want: | |
33
9defe1ae5814
Remove ActiveModel dependency.
edogawaconan <me@myconan.net>
parents:
28
diff
changeset
|
4 # require "active_model/railtie" |
0 | 5 # require "active_record/railtie" |
6 require "action_controller/railtie" | |
1 | 7 # require "action_mailer/railtie" |
0 | 8 require "action_view/railtie" |
9 # require "sprockets/railtie" | |
10 require "rails/test_unit/railtie" | |
11 | |
12 # Require the gems listed in Gemfile, including any gems | |
13 # you've limited to :test, :development, or :production. | |
14 Bundler.require(*Rails.groups) | |
15 | |
16 module Rsstweet | |
17 class Application < Rails::Application | |
18 # Settings in config/environments/* take precedence over those specified here. | |
19 # Application configuration should go into files in config/initializers | |
20 # -- all .rb files in that directory are automatically loaded. | |
21 | |
22 # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. | |
23 # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. | |
24 # config.time_zone = 'Central Time (US & Canada)' | |
25 | |
26 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. | |
27 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] | |
28 # config.i18n.default_locale = :de | |
12 | 29 config.middleware.delete "ActionDispatch::Cookies" |
28 | 30 |
31 if ENV["RT_MEMCACHED_SERVERS"] | |
32 config.cache_store = :mem_cache_store, ENV["RT_MEMCACHED_SERVERS"].split(","), { :namespace => "rsstweet" } | |
33 end | |
0 | 34 end |
35 end |