lib/superstore/scope/query_methods.rb in superstore-2.3.0 vs lib/superstore/scope/query_methods.rb in superstore-2.4.0
- old
+ new
@@ -7,10 +7,10 @@
def select(*values, &block)
if block_given?
to_a.select(&block)
else
- clone.select! *values
+ clone.select!(*values)
end
end
def where!(*values)
self.where_values += values.flatten