Forum: Ruby on Rails From Rails 1.2.6 to 2.3.2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
elle (Guest)
on 2009-03-24 01:04
(Received via mailing list)
Hello,

I have an application I did in 2007 in Rails 1.2.6. It was my first
one -- so I am sure the code could be improved and better refractored.
If I wanted to upgrade the application to 2.3.2 and hopefully improve
it -- how would you suggest I tackle this? Any advice would be great.

Elle
Craig D. (Guest)
on 2009-03-24 03:02
(Received via mailing list)
1. Upgrade to latest 2.0.x release, run all of your tests, fix any
failures,
address any deprecations.
2. Upgrade to latest 2.1.x release, run all of your tests, fix any
failures,
address any deprecations.
3. Upgrade to latest 2.2.x release, run all of your tests, fix any
failures,
address any deprecations.
4. Upgrade to latest 2.3.x release, run all of your tests, fix any
failures,
address any deprecations.

You may need to upgrade plugins and/or other tools at one or more steps,
too. I know it seems like a long recipe, but it should keep the problems
to
a minimum along the way.

Regards,
Craig

On Mon, Mar 23, 2009 at 7:03 PM, elle <removed_email_address@domain.invalid> 
wrote:

>
--
Craig D.
Mutually Human Software
http://mutuallyhuman.com
elle (Guest)
on 2009-03-25 00:23
(Received via mailing list)
So, I've got one more question: how do you upgrade to certain version?

Thanks,
Elle
Greg D. (Guest)
on 2009-03-25 01:34
(Received via mailing list)
On Tue, Mar 24, 2009 at 5:22 PM, elle <removed_email_address@domain.invalid> 
wrote:
>
> So, I've got one more question: how do you upgrade to certain version?

Change the RAILS_GEM_VERSION in your environment.rb and run `rake
rails:update`.


--
Greg D.
http://destiney.com/
This topic is locked and can not be replied to.