Skip to content

Commit

Permalink
fix whitespace errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Aug 20, 2012
1 parent f298481 commit d0d4ef6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/transactions.rb
Expand Up @@ -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
Expand Down

0 comments on commit d0d4ef6

Please sign in to comment.