Drop the LATERAL query, since it's not an improvement over the standard one anyway.
Some minor stylistic changes.
Make spec_helper more presentable.
Minor cleanup in the Rails integration.
Clean up Worker. Thread-local variables are no longer necessary, simple instance variables in workers will do.
Skip ActiveRecord specs in JRuby entirely for now.
Update README with a disclaimer regarding JRuby.