Upgrading from Rails 2.3.8 to 4.0

后端 未结 2 1512
無奈伤痛
無奈伤痛 2020-12-02 11:44

I am running an application on Rails 2.3.8. I am planning to upgrade it to Rails 4.0 (which is in RC). What will be the easiest way for me to do this? Do I need to first upg

2条回答
  •  不思量自难忘°
    2020-12-02 12:26

    Aaron Gray's answer is very useful, but sometimes it's very difficult after upgrading to find the differences between rails version in the code. I mean, many times after upgrading something doesn't work. Maybe could be some changes in the file or some file could be added or removed in newer version. There is a nice tool, how you can find out all differences between version and compare them. It's on Rails differences and could be very helpful to discover some potential mistakes and bugs.

提交回复
热议问题