thoughtbot/suspenders — Issue #54: Add cucumber shared connections fix
Author: hgimenez
Created: 2011-11-03 21:15:10+00:00
State: open

```ruby
Before('@javascript') do
ActiveRecord::Base.shared_connection = nil
ActiveRecord::Base.descendants.each do |model|
model.shared_connection = nil
end
end
```