Skip to content

Commit ab8f754

Browse files
committed
Remove unnecessary code in Dataset#ignore_values_preceding
This has been present since the method was added in d21bff4.
1 parent bdeb862 commit ab8f754

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/sequel/dataset/actions.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,8 +1256,6 @@ def hash_key_symbols(s)
12561256
# receiver's current order. This yields the row and the array of order expressions
12571257
# to the block, which should return an array of values to use.
12581258
def ignore_values_preceding(row)
1259-
@opts[:order].map{|v| v.is_a?(SQL::OrderedExpression) ? v.expression : v}
1260-
12611259
order_exprs = @opts[:order].map do |v|
12621260
if v.is_a?(SQL::OrderedExpression)
12631261
descending = v.descending

0 commit comments

Comments
 (0)