DEV Community

Discussion on: How to migrate monolith to the scary new version of Rails

Collapse
 
dsalahutdinov profile image
Dmitry Salahutdinov

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.