ys says:

what i did was

1. add format.js in carts controller destroy method

2. add remote: true on empty button

3. create destroy.js.erb in views/carts with

   $('#cart').html("<%=j render @cart %>");
  $('#cart').hide('blind', 1000);