From 923cb3c84faf80c6ed5a27d70b1e734cc6a9f23b Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Thu, 17 Dec 2015 15:44:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E6=96=87=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/at_message.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/at_message.rb b/app/models/at_message.rb index 1a75c4aae..7b65edead 100644 --- a/app/models/at_message.rb +++ b/app/models/at_message.rb @@ -1,3 +1,5 @@ +#coding=utf-8 + class AtMessage < ActiveRecord::Base belongs_to :user belongs_to :sender, class_name: "User", foreign_key: "sender_id"