Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove unused variable

  • Loading branch information...
commit a4697b0cc310fd8986b9dfa226fc5c921cde603e 1 parent 73eeb51
@tenderlove tenderlove authored
View
2  activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
@@ -230,7 +230,7 @@ def transaction(options = {})
@_current_transaction_records.last.concat(save_point_records)
end
end
- rescue Exception => database_transaction_rollback
+ rescue Exception
if open_transactions == 0
rollback_db_transaction
rollback_transaction_records(true)
Please sign in to comment.
Something went wrong with that request. Please try again.