These are chat archives for mailboxer/mailboxer

18th
Mar 2015
Seth Webster
@sethwebster
Mar 18 2015 01:25
Greetings.
Is there an upgrade path from 0.6.5 to current?
Dan Bartlett
@danbartlett
Mar 18 2015 10:06
Hi all
John-Henry Liberty
@jhliberty
Mar 18 2015 10:18
hello
Dan Bartlett
@danbartlett
Mar 18 2015 10:20
Does anyone know of a reason why Mailboxer::Notification.id and Mailboxer::Receipt.id would go out of sync? I know they're not foreign keys, but they have been in sync up until recently. And then lots of things broke because we were finding notifications by receipt id! (notification = Mailboxer::Notification.find_by(id: receipt.id)
we pass the notification data on to GCM for push notifications and the result is that everyone gets notified about the previous notification event (which usually has nothing to do with them...). Horrible to get to the bottom of. I see now we shouldn't find notifications by Mailboxer::Notification.find_by(id: receipt.id), but I am concerned that there are differences between the total numbers of receipts and notifications
John-Henry Liberty
@jhliberty
Mar 18 2015 10:33
Hmm maybe someone turned off notifications?
Dan Bartlett
@danbartlett
Mar 18 2015 10:35
How so? Notifications are default for all users, no way to turn off really
and i don't think that would create notifications without receipts or vice versa
i suspect we've just delete a notifcation or receipt somewhere manually, without clearing out it's partner
Stephen Krewson
@StephenKrewson
Mar 18 2015 23:40
any advice for setting up mailboxer with mongodb? I'm getting lots of ActiveRecord connection_not_established errors.
Stephen Krewson
@StephenKrewson
Mar 18 2015 23:57
mailboxer/mailboxer#27 (never mind! disappointing...)