I am working on a project using rails 2.1.1. With the new release of 2.2.2 I want to migrate to the new version. Is there anything I need to change to migrate my 2.1.1 controllers, views, and models?
Don't forget to run the update Rake task
rake rails:update
That will go ahead and make sure it updates any scripts and configs to reflect 2.2.
Once you have 2.2 installed, issue:
rake -T
to view the available tasks, double check it's there and go ahead and fire it off and you'll be up and running.
Good luck!
There aren't any major changes in the way things are done. Here is the list of deprecations
Of course the best way to quickly discover changes is to have a good test suite in place. If you don't have that, I suggest dropping 2.2 into vendor/rails and clicking around the site by hand.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With