正在学习 Railscasts-china 中 omniauth-2-identity 使用,敲完代码,用 github 可以登录。但在 auth/identity/register 页面登录,填写相关信息,点击 connect,页面没发生跳转,填写的信息却被置空。
rails server 里面信息:
Started POST "/auth/identity/register" for 127.0.0.1 at 2013-11-09 08:50:40 +0800 (0.2ms) BEGIN Identity Exists (0.2ms) SELECT 1 AS one FROM identities
WHERE identities
.nickname
= BINARY 'wangyzyoga' LIMIT 1 Identity Exists (0.2ms) SELECT 1 AS one FROM identities
WHERE identities
.email
= BINARY '[email protected]' LIMIT 1 (0.2ms) ROLLBACK
不知道是哪个环节错了?