Fixes this issue in sporkrb (which should have been filed here :):
In rspec, rake runs rake db:test:prepare, which drops
the test database, and if you don't close the connection
spork prevents the database from being dropped.
Close ActiveRecord connections at end of prefork
Would love to get this merged, I run into this issue constantly...
+1 - this would change my life.
👍 @timcharper let's get this in please!