On Nov 22, 2:27 pm, Schalk Neethling <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I believe I have upgraded my Rails version from 2.0.2 to 2.2.2 ;)
> However, I am experiencing some problems with an app that was built on
> 2.0.2. Can anyone suggest a resource where I can learn more about how to
> properly upgrade from 2.0.2 to 2.2.2
>
You'd probably find it easier to go to 2.1.2 first, find/fix
deprecated stuff and then move to 2.2.2

Fred
> I have read some of the what has changed stuff but I get some weird
> errors that I reckon relates to something else like for example a simple
> line such as the following:
>
> @about = Content.find_by_permalink('about')
>
> throwing and error such as the following:
>
> ArgumentError (NULL pointer given):
>      (eval):3:in `each_hash'
>      (eval):3:in `all_hashes'
>
> C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_r 
> ecord/connection_adapters/mysql_adapter.rb:564:in
> `select'
>
> Thank you in advance,
> Schalk
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
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