Hey, Michail! Nice catch, thank you for the note!
It depends on the flow you use. If you clean up all the rails_next? checks after any upgrade iteration - it's okay
But checking with Rails::VERSION is much flexible I think.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.