Refactor fixes

This commit is contained in:
2013-03-14 16:02:20 +01:00
parent 70d672aa36
commit d54662d973
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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)