中文报错
This commit is contained in:
parent
fc63dfcb7b
commit
923cb3c84f
|
@ -1,3 +1,5 @@
|
||||||
|
#coding=utf-8
|
||||||
|
|
||||||
class AtMessage < ActiveRecord::Base
|
class AtMessage < ActiveRecord::Base
|
||||||
belongs_to :user
|
belongs_to :user
|
||||||
belongs_to :sender, class_name: "User", foreign_key: "sender_id"
|
belongs_to :sender, class_name: "User", foreign_key: "sender_id"
|
||||||
|
|
Loading…
Reference in New Issue