Can’t convert fixnum to string during rake db:create

来源:互联网 发布:华盛顿大学怎么样 知乎 编辑:程序博客网 时间:2024/05/20 16:35

Can’t convert fixnum to string during rake db:create

rake aborted!
can’t convert Fixnum into String

As such, it probably considers your password value of 123 to be an integer.

Trying forcing the string interpretation:

password: “123″

此条目是由 dn365 发表在 ruby on rails学习、学习记录 分类目录的。将固定链接加入收藏夹。