diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-12 20:00:53 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-13 01:19:23 +0100 |
commit | 743cafb7f4a54d162a432c43974a5e5be55fd0b8 (patch) | |
tree | aee6ac50b9b9b637d29deacadca42f7c1e6ed77e /activerecord/lib | |
parent | dc2e291a939e1089300bdac972cb7b63548d9ec1 (diff) | |
download | rails-743cafb7f4a54d162a432c43974a5e5be55fd0b8.tar.gz rails-743cafb7f4a54d162a432c43974a5e5be55fd0b8.tar.bz2 rails-743cafb7f4a54d162a432c43974a5e5be55fd0b8.zip |
Create Rails::Subscriber::TestHelper and use it to make ActiveRecord subscriber tests run in both sync and async scenarios.
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 4a9cc09032..d697cb8d11 100755 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -191,6 +191,7 @@ module ActiveRecord end protected + def log(sql, name) name ||= "SQL" result = nil |