0
我对应该利用国际化技术refinerycms实例工作的非法组合,但在俄罗斯节省出来的时候一个页面我不断收到以下错误:在RefineryCMS:归类
ActiveRecord::StatementInvalid in Admin::PagesController#update
Mysql2::Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=': SELECT COUNT(*) FROM `slugs` WHERE `slugs`.`name` = 'Ñтраница-не-найдена' AND `slugs`.`scope` IS NULL AND `slugs`.`locale` = 'ru' AND (`slugs`.sluggable_id = 2 AND `slugs`.sluggable_type = 'Page')
任何想法为什么会发生?在我的database.yml中,我将编码设置为utf8