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.
No comments:
Post a Comment