spree/spree — pull request #2570 by cbrunsdon (2013-02-15 04:23:55+00:00)
Title: Fix edit payment

As discussed in IRC, this isn't pretty but its the best I've got at the moment.

I tried updating existing payments using the nested attributes, but can't effectively get build_source called on a payment when @order.update_attributes is called, so I elected to delete all the payments when update is hit with payment information.