Guide to moving Rails 1 app to Rails 2?

Are there any guides available on what must be done to move an app
written with Rails 1.x to the latest Rails 2.x?

I’m having trouble finding such a thing in Google.

Thanks for any pointers!

I once read that, if you’re upgrading from a release that is several
releases or a major release behind your target version, i.e., 1.x to
you should upgrade gradually. Say you’re on 1.2.2.

1.2.2 -> latest 1.2.x release
latest 1.2.x release to latest 2.0.x release
latest 2.0.x release to latest 2.1.x release
latest 2.1.x release to 2.2.x (when it becomes available)

With each step, also upgrade plugins to a release that most closely
the Rails release if possible.

Such an approach should minimize the breadth and depth of changes
of your code, Rails and plugins.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs