lib/superstore/scope.rb in superstore-1.0.2 vs lib/superstore/scope.rb in superstore-1.0.3
- old
+ new
@@ -5,17 +5,18 @@
module Superstore
class Scope
include Batches, FinderMethods, QueryMethods
attr_accessor :klass
- attr_accessor :limit_value, :select_values, :where_values, :id_values
+ attr_accessor :limit_value, :select_values, :where_values, :id_values, :order_values
def initialize(klass)
@klass = klass
@limit_value = nil
@select_values = []
@where_values = []
+ @order_values = []
@id_values = []
end
private