Browse the Ruby on Rails Community.

You are here: Forums General Discussion Things to remember when upgrad...

Replytotopic

Things to remember when upgrading to Rails 2?

Posted in Forums : General Discussion

 
Profile

Authority 12
Posting Rating 89
Sign in to rate this post

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

 
Profile

Authority 12
Posting Rating 99
Sign in to rate this post

I would definitely be interested in this.

 
Rj-blogshot

Authority 75
Posting Rating 98
Sign in to rate this post

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.

 
Profile

Authority 25
Posting Rating 73
Sign in to rate this 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

 
Profile

Authority 12
Posting Rating 89
Sign in to rate this post

Thanks a lot Vijay :)

 
Rj-blogshot

Authority 75
Posting Rating 98
Sign in to rate this 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. :)

 
Me

Authority 37
Posting Rating 95
Sign in to rate this post

The PeepCode book by Ryan Daigle is great – and I’m not only saying this because I wrote the German translation … ;-)

 
Atgaaaam92y6g5nj0ahce71euqlog7apdmnrdwyruc0a6gdceosrtpybscluzngbydxils0r2utsaqfvb6ofljahnwepajtu9vduspwimkrbmlzngha9qwp0fdw4yq

Authority 37
Posting Rating 36
Sign in to rate this post

thanks buddy .. u posted Helpful information..

Replytotopic

Other Recent Topics

General Discussion : May 13th - Toronto Ruby on Rails Project Night Returns

General Discussion : Agile Web Development with Rails, 3rd Edition released!!

General Discussion : www.rubyonrails.org was Hijacked /Hacked ???

General Discussion : Data tracking and site statistics

General Discussion : Heroku Invite

General Discussion : mod_rails

General Discussion : Orphan start-up - suggestions?

General Discussion : Where to find RoR contractors in Chicago?

General Discussion : Promote a website / project

General Discussion : very basic question about what is possible with ROR

Formatting Help
  • *bold*       _italics_      
    bq. (quotes)
  • "DSC":http://www.dsc.net
  • * or # (lists)
or cancel