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