Can i upgrade a project from rails 1.2.3 to rails 3.0.5 ?

11 views
Skip to first unread message

nishant

unread,
Apr 6, 2011, 3:08:25 AM4/6/11
to Ruby on Rails: Talk
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

Chris Kottom

unread,
Apr 6, 2011, 3:53:26 AM4/6/11
to rubyonra...@googlegroups.com
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.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


Jeffrey L. Taylor

unread,
Apr 6, 2011, 3:55:41 AM4/6/11
to Ruby on Rails: Talk

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

Reply all
Reply to author
Forward
0 new messages