Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
Things to remember when upgrading to Rails 2?
8 Posts
Things to remember when upgrading to Rails 2?

http://pastie.org/private/krcevozww61drdeza13e3a will be a lot of use. Also remember it's a good idea to rename your views. There is a rake task somewhere for this at http://www.slashdotdash.net/articles/2007/12/03/rails-2-upgrade-notes which works if you use subversion (remove the svn calls if you don't use svn)

thanks buddy .. u posted Helpful information..

Person
r99
Sign In To Rate Post

Also note that is you want to take advantage of most of the improvements and changes in Rails 2.0.* you need to be designing your app structure in a mostly restful manner. If you are creating weirdly names singular and plural resources when the opposite is expected instead of using the generators you will find your life quickly becoming hell.

Rest has won the battle, bucking the horse now will only cause you undue pain. :)

Person
Sr. Ruby & Rails Consultant For Hire
Sign In To Rate Post

Thanks a lot Vijay :)

Person
Forum Rating: 100
Sign In To Rate Post

Balaji you may find a peepcode book on Rails2 a good read if you are planning for a migration to 2.0 . I am pasting a the purchase link here for you.

"Rails2":http://peepcode.com/products/rails2-pdf

Remember pagination was taken out. The will_paginate plugin is now the accept way to do this.

Also session security has been enhanced so you may want to generate a new rails app and then take the session code and move it into the older codebase.

Person
Sr. Ruby & Rails Consultant For Hire
Sign In To Rate Post

I would definitely be interested in this.

Can we just list out points/actions to be done/taken care to ensure a smooth transition while upgrading rails version to 2. So that this can be used as a checklist for developers.

Also info about good tutorial for rails 2 depricated functions ... etc ?

Few slideshow/tutorails i came across, http://www.slideshare.net/brynary/whats-new-in-rails-2/ http://railscasts.com/tags/17

Person
Forum Rating: 100
Sign In To Rate Post
8 Posts
Login to add your message