Integrate ActiveJob / DeliverLater / GlobalID with Rails

WIP.
:+1: to @jeremy's idea as well.

> On Aug 13, 2014, at 10:45, Rafael Mendonça França <notifications@github.com> wrote:
> 
> In actionmailer/lib/action_mailer/base.rb:
> 
> > @@ -549,7 +549,11 @@ def set_payload_for_mail(payload, mail) #:nodoc:
> >  
> >        def method_missing(method_name, *args) # :nodoc:
> >          if respond_to?(method_name)
> > -          new(method_name, *args).message
> > +          if defined?(::ActiveJob) && action_methods.include?(method_name.to_s)
> I like @jeremy's idea
> 
> —
> Reply to this email directly or view it on GitHub.