Am migrating rails开发者_JAVA技巧 application from 1.2.3 to 2.0.2. Can anyone tell me if there is any plugin available for this?
Thanks in advance!!
I recently took a 1.0 app all the way to 3.0 by going through 1.2, 2.0, 2.3, then 3. There are no plugins that I know of, but there are certainly plenty of guides.
From the release announcement:
If you want to move your application to Rails 2.0, you should first move it to Rails 1.2.6. That’ll include deprecation warnings for most everything we yanked out in 2.0. So if your application runs fine on 1.2.6 with no deprecation warnings, there’s a good chance that it’ll run straight up on 2.0. Of course, if you’re using, say, pagination, you’ll need to install the classic_pagination plugin. If you’re using Oracle, you’ll need to install the activerecord-oracle-adapter gem. And so on and so forth for all the extractions.
There are plenty of blog posts around, Peter Marklunds is particularily good.
One thing I did before anything else was to start managing the dependencies with Bundler. I blogged about this at the time, was definitely useful.
精彩评论