You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class MessageAll < ActiveRecord::Base
- attr_accessible :message_id, :message_type, :user_id
- # 虚拟关联---项目消息表/课程消息表/用户留言消息表/贴吧消息表
- belongs_to :message ,:polymorphic => true
- end
|