fastruby / next_rails

A toolkit to upgrade your next Rails application
https://www.fastruby.io/blog/upgrade-rails/dual-boot/dual-boot-with-rails-6-0-beta.html?utm_source=github&utm_medium=description&utm_campaign=github&utm_term=next-rails
MIT License
466 stars 28 forks source link

Issue latest version method #74

Closed rishijain closed 1 year ago

rishijain commented 1 year ago

Description:

Closes #70 and #72.

I noticed that these issues are arising because a method def latest_version was removed. It was removed in this commit https://github.com/fastruby/next_rails/commit/40590042e11978e5765049ab293b3114b490324b

but I can still find instances of this method being used in the code. Hence I have added the method back.

This PR is duplicate of #62 , but due to inactivity in the original PR as it needs some merge conflicts, I am raising this, so we can merge and roll out the fix as the current versions have breakages.