Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uprails 5.2 upgrade #498
Conversation
pushcx
requested changes
Jun 13, 2018
Hi, thanks for digging in to this! It looks like it's a pretty small update and I really appreciate you volunteering to take it on.
I had a couple questions and it looks like there's some unrelated changes and additions that we don't need, or at least need to discuss in other issues/PRs. Otherwise I look forward to merging this soon.
If any of my questions are off-base, maybe grab me on chat to talk through; I've only skimmed the upgrade guide.
| @@ -1,3 +1,3 @@ | ||
| #!/usr/bin/env ruby | ||
| ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) | ||
| ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
pushcx
Jun 13, 2018
Member
Does this throw a warning in Rails 5.2 or something? I can't see why you've changed this in a few places.
pushcx
Jun 13, 2018
Member
Does this throw a warning in Rails 5.2 or something? I can't see why you've changed this in a few places.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
thomasdziedzic-pd
Jun 13, 2018
Contributor
These are rails generated files. When you run rails app:update as suggested in the upgrade guide, the update task automatically updates this to the latest code for these tools. I would suggest we keep it if possible since this will occur on every rails app:update run which might include further changes.
thomasdziedzic-pd
Jun 13, 2018
Contributor
These are rails generated files. When you run rails app:update as suggested in the upgrade guide, the update task automatically updates this to the latest code for these tools. I would suggest we keep it if possible since this will occur on every rails app:update run which might include further changes.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
| begin | ||
| exec "yarnpkg #{ARGV.join(" ")}" | ||
| exec "yarnpkg", *ARGV |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
pushcx
Jun 13, 2018
Member
This looks like a personal style thing and not worth the churn. Please remove it.
pushcx
Jun 13, 2018
Member
This looks like a personal style thing and not worth the churn. Please remove it.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
| @@ -1,4 +1,4 @@ | ||
| Lobsters::Application.configure do | ||
| Rails.application.configure do |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
pushcx
Jun 13, 2018
Member
Merging the updates to these config files must not have been fun, so let me highlight that I appreciate you doing them. :)
pushcx
Jun 13, 2018
Member
Merging the updates to these config files must not have been fun, so let me highlight that I appreciate you doing them. :)
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
thomasdziedzic-pd
Jun 13, 2018
Contributor
I appreciate that you noticed the amount of work it took :)
thomasdziedzic-pd
Jun 13, 2018
Contributor
I appreciate that you noticed the amount of work it took :)
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
| @@ -0,0 +1,26 @@ | ||
| # Be sure to restart your server when you modify this file. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
| @@ -0,0 +1,35 @@ | ||
| # Be sure to restart your server when you modify this file. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
thomasdziedzic-pd
added some commits
May 26, 2018
thomasdziedzic-pd
referenced this pull request
Jun 13, 2018
Closed
Turn on belongs_to_required_by_default (rails 5.0 default). #508
thomasdziedzic-pd
added some commits
Jun 13, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
thomasdziedzic-pd
Jun 13, 2018
Contributor
I believe that I have addressed all of the things mentioned or have created tickets for the things that still needed to be done after the merge. Waiting for your feedback.
|
I believe that I have addressed all of the things mentioned or have created tickets for the things that still needed to be done after the merge. Waiting for your feedback. |
pushcx
referenced this pull request
Jun 14, 2018
Closed
Turn on rails 5.2 defaults after upgrade #509
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
pushcx
Jun 14, 2018
Member
My feedback is that this is rock solid and I really appreciate you doing it, thank you. Merging.
|
My feedback is that this is rock solid and I really appreciate you doing it, thank you. Merging. |
thomasdziedzic-pd commentedMay 28, 2018
•
edited
Edited 1 time
-
thomasdziedzic-pd
edited May 28, 2018 (most recent)
I wanted to see what it takes to upgrade a rails application and I used lobsters to learn!
Note that there is probably a migration that needs to happen after; see config/initializers/new_framework_defaults_5_2.rb