spec/dummy/config/application.rb in administrate-field-nested_has_many-1.3.0 vs spec/dummy/config/application.rb in administrate-field-nested_has_many-2.0.0
- old
+ new
@@ -1,18 +1,21 @@
-require_relative 'boot'
+require_relative "boot"
-require 'rails/all'
+require "rails/all"
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Dummy
class Application < Rails::Application
- # Initialize configuration defaults for originally generated Rails version.
- config.load_defaults 5.2
+ config.load_defaults Rails::VERSION::STRING.to_f
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration can go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded after loading
- # the framework and any gems in your application.
+ # Configuration for the application, engines, and railties goes here.
+ #
+ # These settings can be overridden in specific environments using the files
+ # in config/environments, which are processed later.
+ #
+ # config.time_zone = "Central Time (US & Canada)"
+ # config.eager_load_paths << Rails.root.join("extras")
end
end
-