sporkrb/spork-rails — pull request #9 by sarahmei (2012-06-14 17:28:42+00:00)
Title: Close ActiveRecord connections at end of prefork

Fixes this issue in sporkrb (which should have been filed here :):
https://github.com/sporkrb/spork/issues/188

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.