I suggest you get your tests in gear if not already
get a core group (start with models, then controllers, minimum of models) passing in 2.3.5
then upgrade
you'll find a great number of plugins and gems will need to be upgraded - and some will have to be hand patched if you cannot find a suitable replacement
Jodi
On 2012-04-07, at 9:08 AM, Jeffrey L. Taylor wrote:
> Quoting Gurdipe Dosanjh <rhomobileapps@gmail.com>:
>> Hi All,
>>
>> Re: Upgrading to Rails 3
>>
>> I am working on a rails application I need to upgrade to the latest version
>> of Ruby and Ruby on Rails.
>>
>> It is currently using:
>>
>> Ruby version 1.8.7 and
>> Ruby on Rails version 2.3.5
>>
>> Is there any information, tutorial, guides etc. I can follow
>>
>> Any help would be greatly appreciated
>>
>
> In addition to the other advice, overriding ActiveRecord callbacks was
> deprecated in 2.3.8. So replace
>
> def before_save
> # whatever
> end
>
> with:
>
> before_save :whatever
>
> private
>
> def whatever
> # whatever
> end
>
> HTH,
> Jeffrey
>
> --
> 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 rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment