指定utf8,中文编码出错

This commit is contained in:
yanxd 2014-05-13 15:54:59 +08:00
parent 284e6ba20a
commit 225f25f04c
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# encoding: utf-8
class CreateAttachmentstypes < ActiveRecord::Migration
def self.up
create_table :attachmentstypes do |t|