Refactor fixes
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ class Order
|
||||
}
|
||||
}], reduce_function: '_sum'
|
||||
|
||||
#view :by_supplier_id_and_id, key: [:supplier_id, :_id]
|
||||
view :by_supplier_id_and_id, key: [:supplier_id, :_id] # Do not comment me out
|
||||
|
||||
# Return all currently active orders for a given supplier
|
||||
def self.active_for_supplier(supplier_id)
|
||||
|
||||
Reference in New Issue
Block a user