mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Removed ARel table assignment
This commit is contained in:
parent
5e790d368c
commit
c9896884a4
1 changed files with 0 additions and 1 deletions
|
@ -116,7 +116,6 @@ module ActiveRecord
|
|||
lock_col = self.class.locking_column
|
||||
previous_value = send(lock_col).to_i
|
||||
|
||||
table = Arel(self.class.table_name)
|
||||
affected_rows = table.where(
|
||||
table[self.class.primary_key].eq(quoted_id).and(
|
||||
table[self.class.locking_column].eq(quote_value(previous_value))
|
||||
|
|
Loading…
Reference in a new issue