diff --git a/app/models/message.rb b/app/models/message.rb index fff845be..392bab48 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -53,7 +53,7 @@ class Message < ActiveRecord::Base has_many :tidings, :as => :container , :dependent => :destroy belongs_to :reply, :class_name => 'Message', :foreign_key => 'reply_id' - has_one :message_detail, :dependent => :destroy + #has_one :message_detail, :dependent => :destroy #转发表 has_many :forwards, :as => :from, :dependent => :destroy