安装了Mongrel之后多了不少提示信息,原先是用webrick并没有这样的提示。
不过它的提示信息都是有关rails 2.0的. 目前才到rail 1.2.1,这个2.0的提示似乎早了点。
[quote]
DEPRECATION WARNING: [color=red]The :dependent => true option is deprecated and will be rem
oved from Rails 2.0[/color]. Please use :dependent => :destroy instead. See http://www
.rubyonrails.org/deprecation for details. See http://www.rubyonrails.org/deprec
ation for details. (called from has_many at c:/ruby/lib/ruby/gems/1.8/gems/activ
erecord-1.15.1/lib/active_record/associations.rb:550)
DEPRECATION WARNING: find_all is deprecated and will be removed from Rails 2.0 (
use find(:all, ...)) See http://www.rubyonrails.org/deprecation for details. (c
alled from js at ./script/../config/../app/controllers/main_controller.rb:29)
([/quote]
不过它的提示信息都是有关rails 2.0的. 目前才到rail 1.2.1,这个2.0的提示似乎早了点。
[quote]
DEPRECATION WARNING: [color=red]The :dependent => true option is deprecated and will be rem
oved from Rails 2.0[/color]. Please use :dependent => :destroy instead. See http://www
.rubyonrails.org/deprecation for details. See http://www.rubyonrails.org/deprec
ation for details. (called from has_many at c:/ruby/lib/ruby/gems/1.8/gems/activ
erecord-1.15.1/lib/active_record/associations.rb:550)
DEPRECATION WARNING: find_all is deprecated and will be removed from Rails 2.0 (
use find(:all, ...)) See http://www.rubyonrails.org/deprecation for details. (c
alled from js at ./script/../config/../app/controllers/main_controller.rb:29)
([/quote]
本文记录了在Rails 1.2.1环境下使用Mongrel服务器时出现的关于Rails 2.0的提示信息详情。这些提示包括关于has_many依赖选项的废弃警告以及find_all方法的弃用建议。
7811

被折叠的 条评论
为什么被折叠?



