parent
7f5bb11a5f
commit
f39631169d
@ -1,6 +1,6 @@
|
|||||||
class UserWechat < ActiveRecord::Base
|
class UserWechat < ActiveRecord::Base
|
||||||
attr_accessible :subscribe, :openid, :nickname, :sex, :language, :city, :province, :country,
|
attr_accessible :subscribe, :openid, :nickname, :sex, :language, :city, :province, :country,
|
||||||
:headimgurl, :subscribe_time, :unionid, :remark, :groupid, :user
|
:headimgurl, :subscribe_time, :unionid, :remark, :groupid, :user, :user_id
|
||||||
|
|
||||||
belongs_to :user
|
belongs_to :user
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue