Files
nairobi/app/models
Bertocq 99851e9588 Remove empty emails from users segments recipients
Why:

User with an empty email value (nil) should not appear in the recipient
list for a given UserSegment at Newsletters or Email Downloads.

How:

Using Enumerable#compact and Enumerable#select to filter out empty emails

Increasing Email Download feature spec and Newsletter model spec to cover
all possible scenarios including the nil email one.
2018-03-01 20:09:32 +01:00
..
2017-07-18 13:07:30 +02:00
2015-07-15 13:32:13 +02:00
2017-11-17 13:14:03 -04:00
2017-07-25 13:01:03 +02:00
2016-01-26 18:10:47 +01:00
2017-10-17 22:00:00 +02:00
2016-11-23 19:19:19 +01:00
2016-05-10 18:31:50 +02:00
2017-04-06 16:25:07 +02:00
2018-02-22 00:42:40 +01:00
2016-05-30 13:55:12 +02:00
2015-08-08 12:56:41 +02:00
2017-12-15 19:21:02 +01:00