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
0 answers

Sending messages with Mailboxer gem - Rails

I'm using the Mailboxer gem to send messages. Currently, I can see all sent messages, but the inbox does not have any received messages. I've tried so many things, but maybe a fresh set of eyes can spot the problem. I'm still really new to coding,…
gwalshington
  • 1,418
  • 2
  • 30
  • 60
0
votes
1 answer

How to find to which box(inbox,sent,trash) a conversation belongs to?

With regard to the Rails Mailboxer Gem, I want to know which box_type a particular conversation belongs to.
rewath
  • 41
  • 1
  • 8
0
votes
1 answer

Mailboxer gem, "undefined method `participants' for nil:NilClass"

@conversation doesn't seem to load the actual conversation. I get a nilClass error when loading an individual conversation and I'm not sure why. I feel like I'm missing something silly. Here is the error (which persists to any use of conversation in…
0
votes
1 answer

Ruby on Rails: Mailboxer migration error

I have a problem with the Mailboxer in RoR. I follow the official guide to install the Mailboxer gem. Add to your Gemfile: gem 'mailboxer' Then run: $ bundle install Run install script: $ rails g mailboxer:install And don't forget to migrate your…
0
votes
1 answer

MailBoxer: How should I do make it to send a notification through email?

I am studying a project vish, which has an open source e-Learning platform http://vishub.org, in here, if some one comments another one's Excusion, one email will be sent. This ability is finished by using mailboxer. But when I run a instance of…
abelard2008
  • 1,984
  • 1
  • 20
  • 35
0
votes
1 answer

How to get users with unread message receipts with Mailboxer in rails

I'm trying to get a list of all User messages that are unread based on their "is_read" mailboxer receipt. I've been trying to do this with the following line: user_ids = User. joins(:receipts). where(receipts:…
Lorenz
  • 737
  • 1
  • 7
  • 26
0
votes
1 answer

Mailboxer ArgumentError in ConversationsController#reply

I have tried to implement a Mailbox using this tutorial. http://www.sitepoint.com/messaging-rails-mailboxer/ My 'reply' function doesn't work well. The reply message did get posted but every time I am being shown with these errors. It didn't get…
ikanyu
  • 305
  • 4
  • 14
0
votes
1 answer

Cannot change email template in Mailboxer

I generated mailboxer email view templates with rails g mailboxer:views. However no matter how I change these templates my mailboxer emails remain the same. Am I doing something wrong or is this a bug?
sanny
  • 156
  • 1
  • 14
0
votes
1 answer

Mailboxer Rails 4

I'm currently trying to find a way to send private messages between users. I found the mailboxer gem. I'm new to rails and have not been able to successfully send a message. has anyone been able to use this gem for their applications using Rails 4?…
TheRealRonDez
  • 2,807
  • 2
  • 30
  • 40
0
votes
1 answer

Issue upgrading from Mailboxer 0.11.0 to 0.12.4

I have just updated to Mailboxer 0.12.4 and followed the instructions in the Github Readme. I had two controllers for working with the Gem Notifications class NotificationsController < ApplicationController before_action :signed_in_user, only:…
Jeff Finn
  • 1,975
  • 6
  • 23
  • 52
0
votes
1 answer

Model from Gem is missing

I am using mailboxer in my Rails 4 app. gem 'mailboxer' I recently updated it from 0.11 to 0.12.4, it stopped working, and I cant figure out why. Now, I am getting the error: uninitialized constant Message I checked the gem's GitHub repo and it…
Jeff
  • 13,943
  • 11
  • 55
  • 103
0
votes
2 answers

Passing object with Mailboxer notification

I'm trying to send a notification to a user with Mailboxer, and I need to pass an object along which will affect how the notification is displayed in my navbar's notification dropdown. @recipient.notify("#{current_user.name} needs you to review his…
domi91c
  • 1,962
  • 4
  • 23
  • 38
0
votes
1 answer

Mailboxer Change Recipients from User's Email to User's Name RoR 4

I'm a beginning programmer, and I have just implemented Mailboxer in my Ruby on Rails 4 web app. Everything is working great, but I want to have the recipients be the user's names, not their emails. I've searched for hours and can't find a precise…
AlenaMcLucas
  • 5
  • 1
  • 2
0
votes
1 answer

Redirect after a particular action

I have been facing some problems with mailboxer gem . The reply and trash specifically , the messages are replied to and when selected to delete are sent to trash too but i haven't able to successfully redirect it to the inbox after it does so . I…
user3620005
0
votes
1 answer

ActiveRecord::RecordNotFound Couldn't find Conversation without an ID

I added a link_to method to the view to allow users to select messages from the inbox to delete. I am using the Mailboxer gem. The error I receive when adding the code is ActiveRecord::RecordNotFound Couldn't find Conversation without an ID. Error…
xps15z
  • 1,769
  • 1
  • 20
  • 38