Questions tagged [mailboxer]

mailboxer is a gem for private message system.

This project is based on the need for a private message system for ging / social_stream. Instead of creating our core message system heavily dependent on our development, we are trying to implement a generic and potent messaging gem.

159 questions
0
votes
1 answer

Mailboxer validation

Hi where can I edit the mailboxer gem message validation settings? For example I'd like to restrict certain types of messages to be a certain length. Is there any way I can edit the inner models of the gem?
user3180
  • 1,369
  • 1
  • 21
  • 38
0
votes
1 answer

Getting multiple buttons for the same action

I have a blog rails app where users can comment on an article and the article author can message the user directly from the comment for which i have added a send message button, i am using mailbox for getting the message option, everything is…
Ahmed Reza Siddique
  • 383
  • 1
  • 6
  • 20
0
votes
1 answer

Unknown key: :order in Mailboxer Gem

I am currently trying to use the Mailboxer Gem. I have added the following line in my Gemfile: gem "mailboxer" In the konsole I did these: $ bundle install $ rails g mailboxer:install $ rake db:migrate $ rails g mailboxer:views and have added…
Mestica
  • 1,489
  • 4
  • 23
  • 33
0
votes
1 answer

Filtering messages to unread and read rails

I want to filter my messages in the website to read and unread. when i click to the unread button there must be just unread messages and this should work as well as reads. I use rails to make this. In this code i get "param is missing or the value…
user6163002
0
votes
1 answer

How to limit Mailboxer inbox to conversations between specific users?

I am creating a messaging system in which a particular user may be a member of one or more organizations. Therefore, if they are signed in to an organization they should only be able to see conversations with users from the same organization but I…
Angela Kay
  • 45
  • 9
0
votes
1 answer

why actor module not support concurrent mailbox?

I'm fresh to akka, also actor,I wonder why can't find a concurrent mailbox to use. As a result, I must define a dispatch actor send to its work actor.Many times, I not care about data's sequence and in this situation make message by sequence just…
LoranceChen
  • 2,453
  • 2
  • 22
  • 48
0
votes
1 answer

Seeing a lot of SendGrid Activity marked "Deferred" after disabling a mailbox

Using SendGrid through Azure (free version). I recently disabled a user's email because it was receiving way too much SPAM. Prior to doing this my activities list was about 1-2 pages long with recognizable e-mails my system was sending out per…
REMESQ
  • 1,190
  • 2
  • 26
  • 60
0
votes
0 answers

mailboxer error in rails

I want to make my user model act as messageable. I added gem 'mailboxer', github: 'mailboxer/mailboxer' in the gem file. I added acts_as_messageable in the user model. I assiged u1 = User.first u2 = User.find_by(id: 2) when I write the…
Radu Artene
  • 133
  • 1
  • 1
  • 9
0
votes
1 answer

Mailboxer gem active record error on the conversations page

I'm trying to setup the mailboxer gem. It is mostly setup but I get the following error when I send a message and it tries to display the conversations page Couldn't find Mailboxer::Conversation with 'id'=2 [WHERE "mailboxer_notifications"."type" =…
Rob
  • 1,835
  • 2
  • 25
  • 53
0
votes
1 answer

Mailboxer with two user models

I use Devise for user authentication and create to models, student and teacher. Now, I want to use mailboxer. With mailboxer, we just need to add the acts_as_messageable to both models. However, I'm not quite sure how to setup the controller. Here…
Arief R Ramadhan
  • 234
  • 3
  • 16
0
votes
1 answer

rails showing ActiveRecord_Associations error while adding a send message link

I have a rails app where users can add a post and other users can comment on them i was trying to add a direct message link with the users who comment, i tried something like this following a suggestion on stackoverflow _form.html.erb <%= form_for…
Ahmed Reza
  • 293
  • 1
  • 3
  • 19
0
votes
1 answer

Ruby on rails. Mailboxer send message button

I'm having trouble making a send message button work with mailboxer gem. I used this tutorial as a guide 'http://josephndungu.com/tutorials/private-inbox-system-in-rails-with-mailboxer' where as many others, you must choose the recipient from a list…
Rob Hughes
  • 876
  • 2
  • 13
  • 32
0
votes
1 answer

Mailboxer gem's mailer results in ActionController::UrlGenerationError when no locale is passed

I am trying to use the Mailboxer gem to get a user-to-user messaging system in my Rails 4 app. However, I am getting the following error in my browser when sending messages: ActionController::UrlGenerationError in Conversations#create the culprit…
DaniG2k
  • 4,772
  • 36
  • 77
0
votes
2 answers

Rails 4 mailboxer conversation delete a participant

I have used to mailboxer gem for messages in rails.I want to remove a participant from a conversation.How do delete it? anyone can tell me.
Karthick
  • 433
  • 1
  • 10
  • 25