Tuesday, December 18, 2007

updating from Rails 1.2.3 to 2.0.1

So I decided during Christmas downtime to update the site from Rails 1.2.3 to 2.0.1
Wow talk about biting off more than I could chew.

But basically to chronicle the event, I'm using this post to help pay forward any help that I've received in the past.

Quick fixes:
undefined method `extract_options_from_args!' for #
does not work anymore in 2.0.x
instead, replace those lines that have:
options = extract_options_from_args!(args)

with
options = args.extract_options!


Acts_as_Authenticated
change the redirect_to_url to redirect_to

---
other useful links:
http://ryandaigle.com/articles/2007/12/7/rails-2-0-final-released-summary-of-features
http://blog.reciprocallattice.com/2007/12/auto-completion-and-in-place-editor.html
http://weblog.rubyonrails.org/2007/12/17/rails-2-0-2-some-new-defaults-and-a-few-fixes

No comments: