-
Notifications
You must be signed in to change notification settings - Fork 375
Upgrade Rails to 8.1.2 and modernize config #703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,6 @@ | ||||||||
| #!/usr/bin/env ruby | ||||||||
| require_relative "../config/boot" | ||||||||
| require "active_support/continuous_integration" | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The
Suggested change
|
||||||||
|
|
||||||||
| CI = ActiveSupport::ContinuousIntegration | ||||||||
| require_relative "../config/ci.rb" | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| # frozen_string_literal: true | ||
|
|
||
| require_relative "boot" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
|
|
||
| require "rails/all" | ||
|
|
@@ -11,7 +9,7 @@ | |
| module RailsReactTutorial | ||
| class Application < Rails::Application | ||
| # Initialize configuration defaults for originally generated Rails version. | ||
| config.load_defaults 8.0 | ||
| config.load_defaults 8.1 | ||
justin808 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| # Please, add to the `ignore` list any other `lib` subdirectories that do | ||
| # not contain `.rb` files, or that should not be reloaded or eager loaded. | ||
|
|
@@ -22,8 +20,7 @@ class Application < Rails::Application | |
| # | ||
| # These settings can be overridden in specific environments using the files | ||
| # in config/environments, which are processed later. | ||
|
|
||
| config.active_support.to_time_preserves_timezone = false | ||
| # | ||
| # config.time_zone = "Central Time (US & Canada)" | ||
| # config.eager_load_paths << Rails.root.join("extras") | ||
| end | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.