To be safe, go through a stepwise upgrade, running and fixing your tests at each step. -- H
On Thu, 31 Jan 2019 at 23:50, raj kumar <2017k...@gmail.com> wrote: > I have a Rails app, made 10 years back in 2009 with following version: > rails version = 2.0.2 > ruby version = 1.8.7 > Database = PostgreSQL > > Now what steps I should adopt in order to upgrade it to latest version of > ruby and rails i.e., > rails version = 5.2 > ruby version = 2.6 > Database = PostgreSQL > > As per up-gradation rule here( > https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html), I need > to start up-gradation one by one version gradually like, > 2.x to 3.x > 3.x to 4.x > 4.x to 5.x > > My question here is, > Is there any other way to directly update it from 2.x to 5.x? > > Note: I can develop it by scratch but my client not agree on that, they > just asking for update in existing app not build from scratch in latest > version of Ruby on Rails. > > Kindly provide your thoughts. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/fa59e599-44bc-4d30-91c6-a048edb9e2ca%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/fa59e599-44bc-4d30-91c6-a048edb9e2ca%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- OpenPGP: https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1 If you wish to request my time, please do so using *bit.ly/hd1AppointmentRequest <http://bit.ly/hd1AppointmentRequest>*. Si vous voudrais faire connnaisance, allez a *bit.ly/hd1AppointmentRequest <http://bit.ly/hd1AppointmentRequest>*. <https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1>Sent from my mobile device Envoye de mon portable -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAP%2BbYWC%3DAAwTJWxHfz9CCEjbou-hgZU8B2uKeJ6hqzeV5k3TfQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.