[Ilugc] Ruby on Rails question

  • From: citizenofgnu@xxxxxxxxx (Thyagu rajan)
  • Date: Thu Jan 25 15:13:33 2007

Dear friends,

I upgraded my rails from 1.1.6 to 1.2.1 and then on my app is throwing
the following warning

DEPRECATION WARNING: model is deprecated and will be removed from
Rails 2.0  See http://www.rubyonrails.org/deprecation for details.
(called from ./script/../config/../app/controllers/application.rb:6)
DEPRECATION WARNING: depend_on is deprecated and will be removed from
Rails 2.0 See http://www.rubyonrails.org/deprecation for details.
(called from model_without_deprecation at
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/action_controller/deprecated_dependencies.rb:13)
DEPRECATION WARNING: model is deprecated and will be removed from
Rails 2.0  See http://www.rubyonrails.org/deprecation for details.
(called from ./script/../config/../app/controllers/account_controller.rb:2)


what should i do to fix this, any pointers  , thanks in advance

Cheers

Thyagarajan shanmugham

Other related posts: