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
Update to Rails 6 #2018
Update to Rails 6 #2018
Conversation
1028912
to
4b33efe
Compare
0f6c3c2
to
4e0669a
Compare
f3cbe2a
to
bd49868
Compare
96baafc
to
5e1164a
Compare
This commit won't be released. Adding it to test rails rc. delayed_job 4.1.6 - In Progress ================= * Allow Rails 6.0 * Update failed message to be more clear
Updates rails from 5.2.1 to 6.0.0.rc1. rails-i18n couldn't be update seperatly as it depends on railties (>= 6.0.0.beta1, < 7)
Chose not to overwrite config/locales/en.yml, config/initializers/content_security_policy.rb and config/routes.rb. The files get overridden to prestine rails app config, with no meaningful changes.
We have commented `require "active_model/railtie"` besides things not required by default.
Kept small fixes in comments.
delayed_job_active_record Was needed for testing rails 6 rc
|
||
config.cache_store = :mem_cache_store, | ||
'localhost:11211', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this default value now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems it was default value for whole time, anyway is still in current version -> https://github.com/rails/rails/blob/v6.0.0/activesupport/lib/active_support/cache/mem_cache_store.rb#L70
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
Revert "Merge pull request #2018 from sonalkr132/rails-6"
…s-6"" This reverts commit 3327386.
Revert "Revert "Merge pull request #2018 from sonalkr132/rails-6""
TODO:
Deprecation
TODO when we are on rails 6. needs rails 6 new framework config updates.
.DEPRECATION WARNING: Sending mail with DeliveryJob and Parameterized::DeliveryJob is deprecated and will be removed in Rails 6.1. Please use MailDeliveryJob instead. (called from call at /home/aditya/rubygems.org/lib/clearance_backdoor.rb:9)
DEPRECATION WARNING: Rails 6.1 will return Content-Type header without modification. If you want just the MIME type, please use
#media_type
instead. (called from block in class:DashboardTest at /home/travis/build/rubygems/rubygems.org/test/integration/dashboard_test.rb:43)Rails 6 release notes