在seeds.rb中添加数据时候,一旦涉及到中文,就会出现“invalid multibyte char (US-ASCII) ”的错误; 解决办法:在seeds.rb文件的开头添加#encoding: utf-8