login无法登陆
depot程序:
管理这一章,不论是输入正确的用户名和密码还是错误的,
点击login时都没有反映还是回到login这个页面上来,
我用的是 rials 1.2.5 ruby 1.8.6
其中log的日志为
DEPRECATION WARNING: model is deprecated and will be removed from Rails 2.0 See http://www.rubyonphp?name=rails" onclick="tagshow(event)" class="t_tag">rails.org/deprecation for details. (called from F:/work1/depot/app/controllers/application.rb:7)
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 c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/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 F:/work1/depot/app/controllers/application.rb:8)
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 c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/deprecated_dependencies.rb:13)
Processing LoginController#login (for 127.0.0.1 at 2008-07-21 14:26:28) [POST]
Session ID: 6629d575afe332aa574a5eff96d29030
Parameters: {"user"=>{"name"=>"jgl", "password"=>"1"}, "action"=>"login", "controller"=>"login"}
Rendering within layouts/admin
Rendering login/login
DEPRECATION WARNING: end_form_tag is deprecated and will be removed from Rails 2.0 See http://www.rubyonrails.org/deprecation for details. (called from _run_rhtml_47app47views47login47login46rhtml at F:/work1/depot/app/views/login/login.rhtml:16)
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | 200 OK [http://localhost/login/login]