Ask A Question


You’re not receiving notifications from this thread.

Action Cable vs Mailboxer?

Enrique Benitez asked in General

Differences and pros/cons between Rails 5 new Action Cable vs Mailboxer gem?

What are your thoughts? :)


Action Cable uses web sockets which means that message exchanging happens in real time. Much more user friendly.
Mailboxer as far as I can tell requires the user to refresh the page.


These are really two different things you can't compare much. ActionCable is websockets, allowing you to talk back and forth to the server in realtime. You'd still have to build your messaging system on top of that.

You can actually use ActionCable to implement a realtime messaging system that uses Mailboxer on the backend. It'd pretty much just require you to take the stuff I covered in the other episodes and rather than doing POST requests to the server, use JS to send it over to ActionCable actions. This should make for a pretty easy implementation of realtime messaging.


That would a very interesting video to see. Maiboxer + ActionCable. So we dont need to start from scratch for a full messaging system.

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 84,256+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.