diff options
author | José Valim <jose.valim@gmail.com> | 2009-10-15 18:06:15 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-10-15 18:06:15 -0300 |
commit | 8b340ab2f62bac2af9d5917e296bb4101530282a (patch) | |
tree | 576a6c21ec003b05f8a4e23e671077136208db58 /activerecord/lib/active_record/connection_adapters | |
parent | 02b76862e1ff8ceccb3cd48922ac178462e14892 (diff) | |
download | rails-8b340ab2f62bac2af9d5917e296bb4101530282a.tar.gz rails-8b340ab2f62bac2af9d5917e296bb4101530282a.tar.bz2 rails-8b340ab2f62bac2af9d5917e296bb4101530282a.zip |
Revert "Rename Orchestra to Notifications [#3321 state:resolved]"
This reverts commit 8cbf825425dc8ad3770881ea4e100b9023c69ce2.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rwxr-xr-x | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 9b65d68fec..694e1e561c 100755 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -201,7 +201,7 @@ module ActiveRecord protected def log(sql, name) - event = ActiveSupport::Notifications.instrument(:sql, :sql => sql, :name => name) do + event = ActiveSupport::Orchestra.instrument(:sql, :sql => sql, :name => name) do yield if block_given? end @runtime += event.duration |