Denshobato is a Rails gem that helps models communicate with each other.
It gives simple api for creating a complete conversation system. You can
create conversation with any model. Denshobato provides api methods for
making conversation, messages, blacklists and trash. It also provides
Helper methods for controller and view.
HOW TO tutorial -
http://id25.github.io/2016/03/01/make-private-dialog-between-reseller-and-customer-part-1.html
Repository - GitHub - ID25/denshobato: Private messaging between models