Homeland 报告 Bug

Peter · July 17, 2012 · 1800 hits

绑定 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

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.