comparison config/application.rb @ 72:257910c60eb3

Rails 5 \o/
author nanaya <me@myconan.net>
date Fri, 13 May 2016 04:32:21 +0900
parents e5082c4c234d
children e9a6019a34ea
comparison
equal deleted inserted replaced
71:e4cc80d72926 72:257910c60eb3
1 require File.expand_path("../boot", __FILE__) 1 require_relative "boot"
2 2
3 # Pick the frameworks you want: 3 # Pick the frameworks you want:
4 # require "active_model/railtie" 4 # require "active_model/railtie"
5 # require "active_record/railtie" 5 # require "active_record/railtie"
6 require "action_controller/railtie" 6 require "action_controller/railtie"
7 # require "action_mailer/railtie" 7 # require "action_mailer/railtie"
8 require "action_view/railtie" 8 require "action_view/railtie"
9 # require "sprockets/railtie" 9 # require "sprockets/railtie"
10 require "rails/test_unit/railtie" 10 require "rails/test_unit/railtie"
11 11
12 require File.expand_path("../config_init", __FILE__) 12 require_relative "config_init"
13 13
14 # Require the gems listed in Gemfile, including any gems 14 # Require the gems listed in Gemfile, including any gems
15 # you've limited to :test, :development, or :production. 15 # you've limited to :test, :development, or :production.
16 Bundler.require(*Rails.groups) 16 Bundler.require(*Rails.groups)
17 17
26 # config.time_zone = 'Central Time (US & Canada)' 26 # config.time_zone = 'Central Time (US & Canada)'
27 27
28 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. 28 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] 29 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30 # config.i18n.default_locale = :de 30 # config.i18n.default_locale = :de
31 config.middleware.delete "ActionDispatch::Cookies" 31 config.middleware.delete ActionDispatch::Cookies
32 32
33 # this isn't actually used but railties checks this variable during boot. 33 # this isn't actually used but railties checks this variable during boot.
34 config.secret_key_base = "herp a derp" 34 config.secret_key_base = "herp a derp"
35 config.session_store :disabled 35 config.session_store :disabled
36 36