Reestablish previous connection, duplicate cached values and run inline jobs
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.
This Week in Rails · 30 N Racine #200 · Chicago IL 60607 · USA
> [View in browser](http://track.goodbits.io/f/a/dmXy7d9NjfHv7B1Dl_F8xQ~~/AAB5kwA~/RgRfoFPIP0Q_aHR0cHM6Ly9nb29kYml0cy5pby9lbWFpbHMvY2QwZjkyODItNGJhMS00ZmEyLThkMTUtZTNhNTcwNDE3YjNiVwNzcGNCCgAiys69XWtv5z1SGnJhaWxzLXdlZWtseUB6b2V0aGljYWwuY29tWAQAAAAA)