twinge/resque_mail_queue — comment on commit c175eee44ae75cf29dc4bd0610887f27f1d0bc9a
File:  line 0
By scottwater:

Thanks for the submission.

I had done a similar update myself, but backed it out because it will not work as is if there are duplicate method names.

For example, if two mailers have a method called, "send_user_email" the first one defined on Enqueue will be used. The other will be ignored. In addition, subclasses which override methods will also have a similar issue.

In particular, it is not possible to define different queues on subclasses (which is why one of the specs fails with your change).

I would love to support this functionality, but I don't see how to support this without causing these issues.