Skip to content
This repository

internal messaging feature #2

mixandgo opened this Issue April 11, 2013 · 3 comments

2 participants

Cezar Halmagean Ilya N. Zykin
Cezar Halmagean


I was wondering if it would be easy to have an internal messaging feature/system. To be more specific, I'd like to be able to have private messages with threads between accounts; say if you have clients and sellers and you want them to talk to each other based on some model (blog post, line item, order, etc).


Ilya N. Zykin


Ilya N. Zykin

Cezar, I think the_comments can't be good solution for internal messaging. As I can see - internal messaging have many differences with comment system.

But, I think you can make something like internal messaging with this gem:

I suggest the following solution for you right now:

class User < ActiveRecord::Base
  has_many :talks                             # owner
  has_many :incoming_talks, (relation params) # recipient
class Talk < ActiveRecord::Base
  belongs_to :user       # owner
  belongs_to :recipient # recipient

  include TheCommentsCommentable

You can create private talks between users in your app. It can be fast solution for you.

But, I repeat - internal messaging have many differences - and I think it's good idea for another gem (the_messages, maybe :) )

Ilya N. Zykin

internal messaging planed in future with another gem.

Ilya N. Zykin the-teacher closed this October 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.