3 ms·
Fair enough argument for that particular example, but I think the author's point still stands for the other example (if !user.suspended do send_email end)
by dkdbejwi383 4y ago
Fair enough argument for that particular example, but I think the author's point still stands for the other example (if !user.suspended do send_email end)
- e12e 4y agoThat example makes more sense as: send_email unless user.suspended? Here we see that we normally send email - except for the exceptional case of the user being suspended.