Thanks guys.  I guess I'm not missing any quick & easy guides then.
Will slowly plug away...

On Mar 4, 12:38 am, Phlip <[email protected]> wrote:
> anrake wrote:
> > Hi,  I'm a little bit behind the curve I guess.  I need to upgrade my
> > app from Rails 1.2.6 to the most recent version 2.2.2.  Are there any
> > complete guides (including Peepcodes or Pragmatic pdf books) that give
> > you a comprehensive guide on how to upgrade your application?
>
> I did it to several programs like this:
>
>   - edit environment.rb and upgrade the version
>   - rake rails:update
>   - run all the tests
>   - fix one warning or error
>   - revert everything in config (leave the new JS)
>   - pass all the tests
>   - integrate
>   - repeat until no more warnings or errors
>
> The point of unit tests and to TDD is to make the smallest changes possible, 
> and
> relentlessly test each change. But upgrading a major version tick is a big
> change, so you must force the upgrade to work incrementally, as a series of
> small changes.
>
> If you get stuck, you can always revert and start again.
>
> --
>    Phlip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to