Integrate ActiveJob / DeliverLater / GlobalID with Rails

WIP.
Why does it matter for these tests though? Is this in preparation for you adding a threaded runner :)?

> On Aug 14, 2014, at 18:33, Aaron Patterson <notifications@github.com> wrote:
> 
> In activejob/test/cases/logging_test.rb:
> 
> > +
> > +  class TestLogger < ActiveSupport::Logger
> > +    def initialize
> > +      @file = StringIO.new
> > +      super(@file)
> > +    end
> > +
> > +    def messages
> > +      @file.rewind
> > +      @file.read
> > +    end
> > +  end
> > +
> > +  def setup
> > +    super
> > +    $BUFFER = []
> @dhh it's not thread or process safe. We should at least be using a thread local variable. Databases have locks for us to coordinate updates, global variables do not. :-)
> 
> —
> Reply to this email directly or view it on GitHub.