2011-01-10 5 views
1

안녕 나는 그럼 난 레일을 실행 http://github.com/techweenie/restful-authentication.git레일 : 편안한 인증 설정에 도움

에서 플러그인이 내가 가진 결과 사용자 세션

인증 플러그인이 생성 다운로드 한 다음

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/tasks/auth.rake의 rake 작업은 사용되지 않습니다. lib/tasks를 대신 사용하십시오.

나는 레일을 처음 사용했지만 온라인에서 보았지만 오래되었다. 도와주세요!

답변

1

편안한 인증 플러그인은 매우 오래되어 아마 더 나은 Devise 또는 Omniauth 같은 것을 사용하는 링크 된 질문에 따라 경찰 not working with Rails 3.

생각합니다.

~ chris