嗨,我从http://github.com/techweenie/restful-authentication.git下载了这个插件
然后,我运行rails生成插件验证用户会话
这是我得到的结果:
create vendor/plugins/authenticated
create vendor/plugins/authenticated/MIT-LICENSE
create vendor/plugins/authenticated/README
create vendor/plugins/authenticated/Rakefile
create vendor/plugins/authenticated/init.rb
create vendor/plugins/authenticated/install.rb
create vendor/plugins/authenticated/uninstall.rb
create vendor/plugins/authenticated/lib
create vendor/plugins/authenticated/lib/authenticated.rb
invoke test_unit
inside vendor/plugins/authenticated
create test
create test/authenticated_test.rb
create test/test_helper.rb然后,我尝试使用rake db:migrate
但我得到的错误是restful-authentication/task/auth.rake中的rake任务是不推荐使用的。请改用lib/task。
我是rails的新手,尝试过在网上寻找,但似乎已经过时了。请帮帮我!
发布于 2011-01-10 15:45:25
https://stackoverflow.com/questions/4644252
复制相似问题