How should I upgrade a Rails app to use the latest version of Rails

后端 未结 7 622
鱼传尺愫
鱼传尺愫 2021-02-02 04:35

I\'m working on a Rails app that currently uses Rails 1.2, so I\'m now quite a long way behind the latest stable release (Rails 2.3).

How should I go about the process o

7条回答
  •  一整个雨季
    2021-02-02 05:16

    I think there are some Rails rake tasks out there you could get that will look for deprecations in your app.

    And as long as your app's in version control, I'd do the upgrade in one shot, and go through the error messages one at a time.

    Also, aside from the release notes pages you saw for 2.2 & 2.3, there should be release notes or change logs in the source itself. Plus, you can search for blog posts (use google blog search) with search terms like "rails x.x.x new features", etc.

提交回复
热议问题