lib/has_messages.rb in has_messages-0.1.1 vs lib/has_messages.rb in has_messages-0.1.2
- old
+ new
@@ -21,11 +21,11 @@
# user = User.find(123)
# message = user.messages.build
# message.subject = 'Hello'
# message.body = 'How are you?'
# message.to User.find(456)
- # message.save!
- # message.deliver!
+ # message.save
+ # message.deliver
#
# == Drafts
#
# You can get the drafts for a particular user by using the +unsent_messages+
# helper method. This will find all messages in the "unsent" state. For example,