class ActiveRecord::Base
This is a hack that forces AR to share its connection between different threads. Useful for Capybara when you are not using rack-test.
Public Class Methods
connection()
click to toggle source
# File lib/splinter/perf/shared_connection.rb, line 7 def self.connection @@shared_connection || retrieve_connection end