Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Keep closer to other methods that touch @transaction

  • Loading branch information...
commit 709ce3d6a0e57ae956f70ca868ec437ecc9d63a3 1 parent 092b92f
@arthurnn arthurnn authored
View
4 activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
@@ -227,6 +227,10 @@ def within_new_transaction(options = {}) #:nodoc:
end
end
+ def open_transactions
+ @transaction.number
+ end
+
def current_transaction #:nodoc:
@transaction
end
View
4 activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
@@ -325,10 +325,6 @@ def raw_connection
@connection
end
- def open_transactions
- @transaction.number
- end
-
def create_savepoint(name = nil)
end
Please sign in to comment.
Something went wrong with that request. Please try again.