Integrate ActiveJob / DeliverLater / GlobalID with Rails

WIP.
I’ve never heard of that need in the 10 years so far. So I’d like to see a real case before going public with it.

On Aug 16, 2014, at 10:23 AM, Sean Griffin <notifications@github.com> wrote:

> In actionmailer/lib/action_mailer/message_delivery.rb:
> 
> > @@ -0,0 +1,47 @@
> > +module ActionMailer
> > +  class MessageDelivery < Delegator
> > +    def initialize(mailer, mail_method, *args)
> > +      @mailer = mailer
> > +      @mail_method = mail_method
> > +      @args = args
> > +    end
> > +
> > +    def __getobj__
> > +      @obj ||= @mailer.send(:new, @mail_method, *@args).message
> Isn't it reasonable that if we have this need for our new additions, other plugin makers may need the same thing?
> 
> —
> Reply to this email directly or view it on GitHub.
>