但是,我不断收到以下堆栈的错误:
NameError(未初始化的常量OpenIdAuthentication :: 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:incredentials=”
authlogic(2.1.2)lib / authlogic / session / foundation.rb:28:在初始化’
authlogic(2.1.2)lib / authlogic / session / password.rb:140:ininitialize’
authlogic(2.1.2)lib / authlogic / session / activation.rb:48:在初始化’
authlogic(2.1.2)lib / authlogic / session / klass.rb:61:ininitialize’
authlogic(2.1.2)lib / authlogic / session / scopes.rb:79:在初始化’
应用程序/控制器/ user_sessions_controller.rb:10:innew”
app / controllers / user_sessions_controller.rb:10:在`create’
有没有人面对同样的问题?我正在使用rails 2.3.4
我试过binary’s example app这是非常好的工作(rails 2.1.2),我已经尝试了the code provided by ryan bates,它的工作也很好(rails 2.3.2).因此,这些库正在使用以前版本的rails.
任何线索?
解决方法
你必须等到有人修复authlogic_openid宝石(这个问题)