app/models/message.rb in has_messages-0.1.2 vs app/models/message.rb in has_messages-0.1.3

- old
+ new

@@ -68,25 +68,29 @@ def bcc(*receivers) receivers(receivers, 'bcc') end alias_method :bcc=, :bcc - # Forwards this message + # Forwards this message, including the original subject and body in the new + # message def forward message = self.class.new(:subject => subject, :body => body) message.sender = sender message end - # Replies to this message + # Replies to this message, including the original subject and body in the new + # message. Only the original direct receivers are added to the reply. def reply message = self.class.new(:subject => subject, :body => body) message.sender = sender message.to(to) message end - # Replies to all recipients on this message + # Replies to all recipients on this message, including the original subject + # and body in the new message. All receivers (direct, cc, and bcc) are added + # to the reply. def reply_to_all message = reply message.cc(cc) message.bcc(bcc) message