sporkrb / spork-rails

Spork plugin for rails
MIT License
184 stars 45 forks source link

Close ActiveRecord connections at end of prefork #9

Closed sarahmei closed 11 years ago

sarahmei commented 12 years ago

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.

nertzy commented 12 years ago

+1

vr-pair commented 12 years ago

+1

agraves commented 12 years ago

+1

Would love to get this merged, I run into this issue constantly...

matthewlehner commented 11 years ago

+1 - this would change my life.

reinh commented 11 years ago

:+1: @timcharper let's get this in please!