2009-03-28 3 views
0

Restful-Authentication 플러그인을 새로 설치하면 다음 메시지와 함께 실패합니다.레일 Restful-Authentication 플러그인 로그인 실패

undefined method `acts_as_state_machine' for #Class:0x46edaf8 

어떻게 해결할 수 있습니까?

참고 : 플러그인이

참고 설치되는 act_as_state_machine : 거기에 편안한 인증 플러그인은 다음 명령으로 설치

script/generate authenticated user sessions --include-activation --stateful 

감사

H

답변

2

코드에 아무런 문제가 없었습니다. 방금 서버를 다시 시작해야했습니다. 또한 바닐라 휴식 인증 플러그인을 확장하는 데 사용할 수있는 훌륭한 블로그 게시물 정보를 제공합니다. Restful Authentication(Part 3 of 3)