spree/spree-product-assembly — pull request #59 by KyleMacey (2013-11-20 21:49:56+00:00)
Title: Update order_inventory_assembly.rb

This solves an issue with adding assembly products to a completed order. A new line item is created, so `line_item.changed_attributes['quantity']` returns `nil` and causes a casting error when trying to subtract it from the current quantity. Parsing the value as integer will return `0` and fix the nil issue.