Tôi đã theo dõi ryan baytes screencast #170 và thêm ruby-openid, authlogic và authlogic-oid vào hệ thống xác thực tự động hiện có.Rails, OpenID và Authlogic
Tuy nhiên, tôi tiếp tục nhận được đống lỗi sau:
NameError (OpenIdAuthentication uninitialized liên tục :: InvalidOpenId): /Library/Ruby/Gems/1.8/gems/authlogic-oid-1.0.4/lib /authlogic_openid/session.rb:53:in openid_identifier=' /Library/Ruby/Gems/1.8/gems/authlogic-oid-1.0.4/lib/authlogic_openid/session.rb:47:in
thông tin đăng nhập = ' authlogic (2.1.2) lib/authlogic/session/foundation.rb: 28: in initialize' authlogic (2.1.2) lib/authlogic/session/password.rb:140:in
khởi tạo' authlogic (2.1.2) lib/authlogic/session/activation.rb: 48: in initialize' authlogic (2.1.2) lib/authlogic/session/klass.rb:61:in
khởi tạo ' authlogic (2.1.2) lib/authlogic/session/scopes.rb: 79: trong initialize' app/controllers/user_sessions_controller.rb:10:in
mới' app/controllers/user_sessions_cont roller.rb: 10: in `create '
Có ai đang đối mặt với cùng một vấn đề không? Tôi đang sử dụng đường ray 2.3.4
Tôi đã thử binary's example app hoạt động hoàn toàn tốt (đường ray 2.1.2), tôi đã thử the code provided by ryan bates và nó cũng hoạt động tốt (đường ray 2.3.2). Vì vậy, các thư viện đang làm việc với các phiên bản trước của đường ray.
Bất kỳ manh mối nào?