test_app/config/application.rb in cupcakinator-1.1.2 vs test_app/config/application.rb in cupcakinator-2.0.0
- old
+ new
@@ -1,12 +1,18 @@
-require File.expand_path('../boot', __FILE__)
+require_relative 'boot'
require 'rails/all'
-Bundler.require(:default, Rails.env)
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
module TestApp
class Application < Rails::Application
- config.i18n.default_locale = :en
- config.autoload_paths += %w( lib )
+ # Initialize configuration defaults for originally generated Rails version.
+ config.load_defaults 5.1
+
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
end
end