MySQLã«ã¯æååã®ç §åé åº(collation)ã¨ããã®ããã£ã¦ãMySQLå´ã§ã®charset utf8ã®ã¨ãã®ããã©ã«ãã®ç §åé åºã¯utf8_general_ciã§ãã ActiveRecord::Migrationã§ã¯æ示çã«ç §åé åºãæå®ããªãå ´åãcharset utf8ã§ç §åé åºutf8_unicode_ciã®ãã¼ã¿ãã¼ã¹ãä½æãã¾ãããããã¯å°ãªãã¨ãæ¥æ¬èªåã§ã¯å¤ãã®äººãæå¾ ããæåã§ã¯ãªãã¨æãããã®ã§æ³¨æãå¿ è¦ã§ãã ãã¨ãã°ã以ä¸ã®ãããªãã¡ããªã¼ãã¼ãã«ãrake db:migrateãã㨠# coding: utf-8 class CreateFamilies < ActiveRecord::Migration def change create_table :families do |t| t.string :name t.string :relation
{{#tags}}- {{label}}
{{/tags}}