From 02f56554d68cddae02ccc4a8511cc5c64210d258 Mon Sep 17 00:00:00 2001 From: Jon Leighton Date: Fri, 14 Sep 2012 23:59:35 +0100 Subject: Ensure disconnecting or reconnecting resets the transaction state --- activerecord/test/active_record/connection_adapters/fake_adapter.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activerecord/test/active_record') diff --git a/activerecord/test/active_record/connection_adapters/fake_adapter.rb b/activerecord/test/active_record/connection_adapters/fake_adapter.rb index 1199be68eb..59324c4857 100644 --- a/activerecord/test/active_record/connection_adapters/fake_adapter.rb +++ b/activerecord/test/active_record/connection_adapters/fake_adapter.rb @@ -36,6 +36,10 @@ module ActiveRecord def columns(table_name) @columns[table_name] end + + def active? + true + end end end end -- cgit v1.2.3