diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-09-14 23:59:35 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-09-15 00:03:04 +0100 |
commit | 02f56554d68cddae02ccc4a8511cc5c64210d258 (patch) | |
tree | 4b091ddba84e3948128e9071ba3f4044eb79cdea /activerecord/test/active_record/connection_adapters | |
parent | 61951427903dbc0d92f6106ec5874025e2185056 (diff) | |
download | rails-02f56554d68cddae02ccc4a8511cc5c64210d258.tar.gz rails-02f56554d68cddae02ccc4a8511cc5c64210d258.tar.bz2 rails-02f56554d68cddae02ccc4a8511cc5c64210d258.zip |
Ensure disconnecting or reconnecting resets the transaction state
Diffstat (limited to 'activerecord/test/active_record/connection_adapters')
-rw-r--r-- | activerecord/test/active_record/connection_adapters/fake_adapter.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |