-5

I used to program using Rails 2.3.x heavily, but it has been a while since I coded. I took a managerial position of a big company, and I don't have enough time to play with my old code. Recently, I realized that I need to hone my skill and would like to start with my old web services and start from there.

Any recommendation for me how to get started?

jiggysoo
  • 1,498
  • 2
  • 10
  • 9

1 Answers1

1

Be aware that this is a multi-step process and can take a long time. Make sure to test for bugs after accomplishing each step since they'll definitely appear.

  • The first step is migrating from Rails 2.3 to Rails 3.0.
  • Second you want to upgrade to Ruby 1.9.3.
  • Pushing from Rails 3.0 to Rails 5.x is covered by RailsGuides which has excellent documentation. You'll notice there are a number of interim steps:

    1. Rails 3.0 -> Rails 3.1
    2. Rails 3.1 -> Rails 3.2
    3. Rails 3.2 -> Rails 4.0
    4. Rails 4.0 -> Rails 4.1
    5. Rails 4.1 -> Rails 4.2
    6. Rails 4.2 -> Rails 5.0
    7. Rails 5.0 -> Rails 5.1

I would strongly suggest adding unit tests to core features if you don't have them. It helps finding issues significantly easier as you progress.

Joseph Cho
  • 4,033
  • 4
  • 26
  • 33