All Versions
10
Latest Version
Avg Release Cycle
120 days
Latest Release
2679 days ago
Changelog History
Changelog History
-
v0.15.1
May 18, 2017 -
v0.15.0 Changes
May 17, 2017๐ Changed
โก๏ธ Update for Rails 5.1
When sorting entries by
created_at
, also sort byid
descending. This is to ensure proper sorting of items for databases that do not store nanoseconds for timestamp columns.
๐ Fixed
- When trying to delete a Mailboxer object, a
NameError
may be thrown due to a missing namespace
-
v0.14.0 Changes
July 29, 2016โ Added
- ๐ Rails 5 compatibility.
๐ Fixed
Mailboxer::Message
object no longer requires to have a subject.- Objects are now saved before mails are sent, you you can use them in the ๐ mailer templates (to build URLs, for example).
๐ Changed
- Errors are now stored in the parent message/notification instead of being stored in the sender receipt. That means you need handle mailboxer related โฌ๏ธ controller and views differently, and study the upgrade case by case (propably by having a look at mailboxer's source code). As an example, if you were previously doing something like this in your controller:
@receipt = @actor.send_message(@recipients, params[:body], params[:subject]) if (@receipt.errors.blank?) @conversation = @receipt.conversation redirect_to conversation_path(@conversation) else render :action => :new end
you now need to do something like
@receipt = @actor.send_message(@recipients, params[:body], params[:subject]) @message = @receipt.message if (@message.errors.blank?) @conversation = @message.conversation redirect_to conversation_path(@conversation) else render :action => :new end
๐ This might look more complicated at first but allows you to build more RESTful ๐ resources since you can build forms on messages and/or conversations and directly show errors on them. Less specially handling is now required to propagate errors around models.
-
v0.13.0
July 02, 2015 -
v0.12.5 Changes
January 08, 2015๐ Changes
- check if messages are valid before trying to save them
- โฌ๏ธ Upgrade to Rspec 3
- ๐ Rails 4.2 support
-
v0.12.4
September 08, 2014 -
v0.12.3
August 31, 2014 -
v0.12.2
August 16, 2014 -
v0.12.1
June 16, 2014 -
v0.12.0
June 05, 2014