Hello! This is Roque bringing the latest news from the Rails community.
The migrate task iterates and establish a connection over each database. That resulted in the last connection being used by subsequent rake tasks. This fix will restore the previous connection before the migrate task had started.
This fixed the following issue:
my_string = "foo" cache.write('key', my_string) my_string << "bar" cache.read('key') # => "foobar"
Run inline jobs in separate threads so that thread locals (e.g. current attributes) are properly scoped and reset when running jobs inline.