-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ran rake app:update and committed what changes it made via its templates as appropriate. Keeping these files looking as much like the Rails templates as possible makes reviewing future app:update diffs easier. Changes of note: * config/environments/production.rb Moved our logging configuration to the spots the Rails generators and app:update templates put them. Added a new RAILS_LOG_TO_STDOUT environment variable to the list of env vars set in production to match the Railsy way to declare that. * config/initializers/cookies_serializer.rb Changed to hybrid to "transparently migrate existing Marshal-serialized cookies to the new JSON-based format."[1] [1] https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#cookies-serializer Signed-off-by: Robb Kidd <rkidd@chef.io>
- Loading branch information
Showing
10 changed files
with
122 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
src/supermarket/config/initializers/application_controller_renderer.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# Be sure to restart your server when you modify this file. | ||
|
||
# ApplicationController.renderer.defaults.merge!( | ||
# http_host: 'example.org', | ||
# https: false | ||
# ) | ||
# ActiveSupport::Reloader.to_prepare do | ||
# ApplicationController.renderer.defaults.merge!( | ||
# http_host: 'example.org', | ||
# https: false | ||
# ) | ||
# end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.