Skip to content
Browse files

fix whitespace errors

  • Loading branch information...
1 parent f298481 commit d0d4ef6e8be08ab4f6a7faa2b3a5ef8423a99350 @tenderlove tenderlove committed Aug 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/transactions.rb
View
4 activerecord/lib/active_record/transactions.rb
@@ -293,12 +293,12 @@ def with_transaction_returning_status
begin
status = yield
rescue ActiveRecord::Rollback
- if defined?(@_start_transaction_state)
+ if defined?(@_start_transaction_state)
@_start_transaction_state[:level] = (@_start_transaction_state[:level] || 0) - 1
end
status = nil
end
-
+
raise ActiveRecord::Rollback unless status
end
status

0 comments on commit d0d4ef6

Please sign in to comment.
Something went wrong with that request. Please try again.