Homeland 报告 Bug

Peter · 2012年07月17日 · 1800 次阅读

绑定 Github 有些小问题 app/views/account/edit.html.erb 提示应该是一个“点击解除绑定" 一个"点击绑定",原文是两个“点击解除绑定"

因为那个 location 问题(http://ruby-china.org/topics/4329 9 楼),会也在解除绑定的时候出错。

另外,现在解除绑定不能成功,在文件app/controllers/users_controller.rb中,也要改一下

current_user.authorizations.destroy_all(:conditions => {:provider => provider})

要改为

current_user.authorizations.destroy_all({provider provider})

参看: http://mongoid.org/en/mongoid/docs/persistence.html

Github issue: https://github.com/ruby-china/ruby-china/issues/69

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号