Upgrade guide for 2.0.2 to 2.2.2


#1

Hey all,

I believe I have upgraded my Rails version from 2.0.2 to 2.2.2 :wink:
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

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:inall_hashes’

C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:564:in
`select’

Thank you in advance,
Schalk


#2

On Nov 22, 2:27 pm, Schalk N. removed_email_address@domain.invalid wrote:

Hey all,

I believe I have upgraded my Rails version from 2.0.2 to 2.2.2 :wink:
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