diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-07-03 20:49:57 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-07-03 20:49:57 +0200 |
commit | fca29750e40e9499aa6fb6de4fa3d2d972d5a4d5 (patch) | |
tree | 7fd881dd27d3cf51f27cc8f2c5054ed763b69a10 /activerecord/lib | |
parent | efb6c16b40fe8f43341e4511fd811e58030a8afd (diff) | |
download | rails-fca29750e40e9499aa6fb6de4fa3d2d972d5a4d5.tar.gz rails-fca29750e40e9499aa6fb6de4fa3d2d972d5a4d5.tar.bz2 rails-fca29750e40e9499aa6fb6de4fa3d2d972d5a4d5.zip |
remove deprecated `PostgreSQLAdapter#outside_transaction?` method.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb index 9b5170f657..751655e61c 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb @@ -218,13 +218,6 @@ module ActiveRecord execute "ROLLBACK" end - def outside_transaction? - message = "#outside_transaction? is deprecated. This method was only really used " \ - "internally, but you can use #transaction_open? instead." - ActiveSupport::Deprecation.warn message - @connection.transaction_status == PGconn::PQTRANS_IDLE - end - def create_savepoint execute("SAVEPOINT #{current_savepoint_name}") end |