On Friday, September 22, 2017 at 2:21:51 AM UTC-4, Colin Law wrote:
Inserts are made to 3 tables There's no messages and conversations tables or models
Processing by MessagesController#create as HTML
Parameters: {"utf8"=>"���", "authenticity_token"=>"67ksqg0yswrb3ofmlxaBLsVfRibQg/b+M2idue237qT5sn3b3mylzmcZK4O0GSQHcgoFxD6mu4JL0ZR5dkVAow==", "message"=>{"subject"=>"test", "body"=>"test", "recipients"=>"5"}, "commit"=>"Send"}
User Load (1.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 ORDER BY `users`.`id` ASC LIMIT 1
(0.3ms) BEGIN
SQL (0.6ms) INSERT INTO `mailboxer_conversations` (`subject`, `created_at`, `updated_at`) VALUES ('test', '2017-09-22 14:27:05', '2017-09-22 14:27:05')
SQL (1.8ms) INSERT INTO `mailboxer_notifications` (`type`, `body`, `subject`, `sender_type`, `sender_id`, `conversation_id`, `updated_at`, `created_at`) VALUES ('Mailboxer::Message', 'test', 'test', 'User', 1, 24, '2017-09-22 14:27:05', '2017-09-22 14:27:05')
SQL (0.6ms) INSERT INTO `mailboxer_receipts` (`receiver_type`, `receiver_id`, `notification_id`, `is_read`, `mailbox_type`, `created_at`, `updated_at`) VALUES ('User', 1, 25, 1, 'sentbox', '2017-09-22 14:27:05', '2017-09-22 14:27:05')