Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Code cleanup for disorderly cart.

  • Loading branch information...
commit c03bc516b09471fe9253a4aa93144d83106d4475 1 parent d9ae7cc
@neilconway neilconway authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  cart/disorderly_cart.rb
3  cart/disorderly_cart.rb
@@ -19,8 +19,7 @@ module DisorderlyCart
bloom :on_checkout do
temp :checkout_log <= (checkout_msg * action_log).rights(:session => :session)
- item_sum <=[action_log.session, action_log.item],
- sum(action_log.action)) do |s|
+ item_sum <=[:session, :item], sum(:action)) do |s|
# Don't return items with non-positive counts. XXX: "s" has no schema
# information, so we can't reference the sum by column name.
s if s.last > 0
Please sign in to comment.
Something went wrong with that request. Please try again.