Привет, я скачал плагин с 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
Но я получил ошибку, в которой говорится, что задачи rake в restful-authentication / tasks / auth.rake устарели.Вместо этого используйте lib / tasks.
Я новичок в rails, пробовал искать в Интернете, но все кажется устаревшим.Пожалуйста, помогите!