Mailboxer messages not arriving in recipients inbox

Mailboxer messages not arriving in recipients inbox

Сообщение johnny 27 сен 2017, 13:12

I don't know what's going wrong Here's my log and my code:

Started POST "/messages" for ::1 at 2017-09-24 02:47:27 -0400
Processing by MessagesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"T1Vcu9Crfcj7HQnoxGD1JGBuHxx7zVgm4xZ8JIh/C2JdXg3KA/VrDEfapY3nb1AN1ztc/pXoFVqbr3XkE42lZQ==", "message"=>{"subject"=>"test", "body"=>"test", "recipient"=>"JackBower"}, "commit"=>"Send"}
e[1me[36mUser Load (0.8ms)e[0m e[1me[34mSELECT users.* FROM users WHERE users.id= 1 ORDER BYusers.id ASC LIMIT 1e[0m
e[1me[35m (0.4ms)e[0m e[1me[35mBEGINe[0m
e[1me[35mSQL (0.6ms)e[0m e[1me[32mINSERT INTO mailboxer_conversations (subject, created_at, updated_at) VALUES ('test', '2017-09-24 06:47:27', '2017-09-24 06:47:27')e[0m
e[1me[35mSQL (0.9ms)e[0m e[1me[32mINSERT INTO mailboxer_notifications (type, body, subject, sender_type, sender_id, conversation_id, updated_at, created_at) VALUES ('Mailboxer::Message', 'test', 'test', 'User', 1, 37, '2017-09-24 06:47:27', '2017-09-24 06:47:27')e[0m
e[1me[35mSQL (0.8ms)e[0m e[1me[32mINSERT INTO mailboxer_receipts (receiver_type, receiver_id, notification_id, is_read, mailbox_type, created_at, updated_at) VALUES ('User', 1, 39, 1, 'sentbox', '2017-09-24 06:47:27', '2017-09-24 06:47:27')e[0m
e[1me[35m (62.2ms)e[0m e[1me[35mCOMMITe[0m

messages_controller.rb
class MessagesController < ApplicationController
before_action :authenticate_user!

I didn't find the right solution from the internet.
References:

https://www.sitepoint.com/community/t/m ... box/276806

infographic animation
johnny
 
Сообщения: 42
Зарегистрирован: 06 сен 2017, 11:10

Вернуться в Обсуждение программ для создания сайта.


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1

cron

Error. Page cannot be displayed. Please contact your service provider for more details. (31)