News for hackers. Stuff that matters.
Re:Shopify's path to Rails 3 by davidw on Tuesday November 16, 2010 @02:30PM (#1911259)
I'm in the middle of upgrading some code and It Is Not Easy.

I think it's best to think of Rails 3 as a separate project that happens to share some code with Rails 2.

I hope it's worth it in the end...

Re:Shopify's path to Rails 3 by ludicast on Tuesday November 16, 2010 @02:39PM (#1911295)
Keep pluging away, it's way worth it :).

Rather than use the upgrade gem I started a new project, copied/converted what I could, and then let my tests tell me what was missing. First the models, then controllers, and finally the integration tests.

Without automated testing you're fucked of course, but as long as you have a decent safety net in place you'll get there.