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-11-17 13:14:03 -04:00
2017-10-17 22:00:00 +02:00
2018-02-22 00:42:40 +01:00
2017-12-15 19:21:02 +01:00