Remove unused `@txn` variable
This was added inc24c885209
, removed inb89ffe7f00
, and then (unintentionally?) reintroduced in2d7ae1b08e
.
This commit is contained in:
parent
ef28b68496
commit
a05845e0a6
|
@ -559,7 +559,6 @@ module ActiveRecord
|
|||
@marked_for_destruction = false
|
||||
@destroyed_by_association = nil
|
||||
@new_record = true
|
||||
@txn = nil
|
||||
@_start_transaction_state = {}
|
||||
@transaction_state = nil
|
||||
end
|
||||
|
|
|
@ -606,7 +606,6 @@ You can also inspect for an object method this way:
|
|||
@new_record = true
|
||||
@readonly = false
|
||||
@transaction_state = nil
|
||||
@txn = nil
|
||||
```
|
||||
|
||||
You can also use `display` to start watching variables. This is a good way of
|
||||
|
|
Loading…
Reference in New Issue