I’ve havn’t run across a brief synopsis via search so I thought I’d
throw the question out here.
As my first real application is still a work in progress I suppose I
should upgrade to 2.0 before I finish it off. (especially as I’ve just
seen a couple good tutorial on implementing restful authentication in a
2.0 enviornment and would prefer to follow them lock-step)
Are a lot of things going to stop working? (Im not using any
How will I get the new features like initializers into my existing
Do I need to rename things with rhtml extensions .html.erb ?
Will I need to change the format of my migrations to the new way?
Would it be a good idea just to scrap the existing application and cut
and paste code after regenerating controllers and models? (sounds like
a lot of work!)
I updated our rails app to 2.0 in December and apart from fixing
deprecated issues and patching some third party gems there wasn’t much
to do. To get initializers to work, all I had to do was to create and
initializers directory under config and drop in my .rb file. To be
fair, we don’t use the features that Ryan mentions but I can’t say
that we’ve had much other than a smooth transition from 1.x to 2.x.
There are a few things that will break. If you are using scaffolding
of any sort, you’ll have to do some work. If you’re using Rails
pagination, you’ll have to decide on Rails classic_pagination or
will_paginate. I posted a blog entry on some of this stuff: