# From Rails 1.2.6 to 2.3.2

**URL:** <https://www.ruby-forum.com/t/from-rails-1-2-6-to-2-3-2/163691>\
**Category:** Rails\
**Created:** [March 24, 2009, 12:04am UTC](https://www.ruby-forum.com/t/from-rails-1-2-6-to-2-3-2/163691 "2009-03-24T00:04:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ccd318/32.png) [@elle](https://www.ruby-forum.com/u/elle)\
**Post date:** [March 24, 2009, 12:04am UTC](https://www.ruby-forum.com/t/from-rails-1-2-6-to-2-3-2/163691/1 "2009-03-24T00:04:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![elle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ccd318/32.png) [@elle](https://www.ruby-forum.com/u/elle)\
**Post date:** [March 24, 2009, 2:02am UTC](https://www.ruby-forum.com/t/from-rails-1-2-6-to-2-3-2/163691/2 "2009-03-24T02:02:00Z")

</div>

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](mailto:removed_email_address@domain.invalid) wrote:

> 

–  
Craig D.  
Mutually Human Software

> **[Homepage | Mutually Human](https://www.mutuallyhuman.com/)**
>
> Technology Made for Humans by humans Data Analytics Data Analytics Data has become a critical part of business for most organizations. We work with you to ensure you have confidence in your data, can properly access it, and present it in a way that...

---

<div class="post-metadata">

**Author:** ![elle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ccd318/32.png) [@elle](https://www.ruby-forum.com/u/elle)\
**Post date:** [March 24, 2009, 11:23pm UTC](https://www.ruby-forum.com/t/from-rails-1-2-6-to-2-3-2/163691/3 "2009-03-24T23:23:30Z")

</div>

So, I’ve got one more question: how do you upgrade to certain version?

Thanks,  
Elle

---

<div class="post-metadata">

**Author:** ![elle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ccd318/32.png) [@elle](https://www.ruby-forum.com/u/elle)\
**Post date:** [March 25, 2009, 12:34am UTC](https://www.ruby-forum.com/t/from-rails-1-2-6-to-2-3-2/163691/4 "2009-03-25T00:34:20Z")

</div>

On Tue, Mar 24, 2009 at 5:22 PM, elle [removed\_email\_address@domain.invalid](mailto: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/](http://destiney.com/)
