ging/mailboxer — pull request #63 by daveworth (2012-06-20 13:14:02+00:00)
Title: Bugfix for handling general enumerables instead of Arrays

In the case that the `recipients` parameter to `Notification#notify_all` is a non-`Array` enumerable this method would wrap it up in an Array, which would lead to an error. A good example of this is the case where recipients is an `ActiveRecord::Relation` from `User#where` for instance. By checking instead that the `recipients` parameter responds to `:each` (and `uniq` where appropriate) this latter, standard Rails case, is covered.