hello, i have an application which is created in rails 1.2.3 and ruby 1.8.6 and now i have to upgrade it to rails 3.0.5 and ruby 1.8.7 ? is it possible? and if yes how ?? can you guys provide me with some kind of link or reference .
Thanks Nishant
hello, i have an application which is created in rails 1.2.3 and ruby 1.8.6 and now i have to upgrade it to rails 3.0.5 and ruby 1.8.7 ? is it possible? and if yes how ?? can you guys provide me with some kind of link or reference .
Thanks Nishant
It can be done, and I know of people who have done similar upgrades, but it will require a step-wise approach.
Refer to a similar thread from a few weeks ago and use the advise described there.
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/6768a95e28a504a0/
Quoting nishant <nishantnigam5@gmail.com>:
hello, i have an application which is created in rails 1.2.3 and ruby 1.8.6 and now i have to upgrade it to rails 3.0.5 and ruby 1.8.7 ? is it possible? and if yes how ?? can you guys provide me with some kind of link or reference .
If it were my project, I'd upgrade to the last 1.2 version first. It has deprecation warnings for the upgrade to 2.0. Fix them, then upgrade to 2.0. Check everything into version control. Then try upgrading to 2.3.11. Fix any warnings and run it for a bit to shake the bugs out. Then upgrade to 3.0.6. There is a plugin or gem, rails_upgrade, that checks for deprecated code. Unfortunately, it is not being maintained. From discussions on the rails-core mailing list, is sounds like someone has forked it and is maintaining it. It will help. But the 2.3 => 3.0 upgrade is a many day process.
If Ryan Bates has a Railscast on the upgrade, watch it. His screencasts are uniformly excellent.
HTH, Jeffrey