<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -105,6 +105,17 @@ class CheckoutsController &lt; Spree::BaseController
         end
       end
 
+      # update description on shipping method
+      shipping_method_id = checkout_info[:shipment_attributes][:shipping_method_id]
+      if shipping_method_id
+        new_shipping_method = ShippingMethod.find(shipping_method_id)
+        if new_shipping_method
+          @order.shipping_charges.each do |shipping_charge|
+            shipping_charge.update_attribute(:description, new_shipping_method.name)
+          end
+        end
+      end
+
     end
 
 		#mark checkout as confirmed (if applicable)</diff>
      <filename>app/controllers/checkouts_controller.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7cad656515a3f96e780b392664f860e8db86851b</id>
    </parent>
  </parents>
  <author>
    <name>Tee Parham</name>
    <email>tee@mobilefoundry.net</email>
  </author>
  <url>http://github.com/railsdog/spree/commit/b1c7c59cacba14572a0d407bec78b90248e5c516</url>
  <id>b1c7c59cacba14572a0d407bec78b90248e5c516</id>
  <committed-date>2009-11-05T07:58:39-08:00</committed-date>
  <authored-date>2009-10-30T15:16:33-07:00</authored-date>
  <message>Update shipping charge description in checkout

[#843 state:resolved]</message>
  <tree>d34e2e75f48a50b9abf73c3c4e3892a3318b8644</tree>
  <committer>
    <name>Brian Quinn</name>
    <email>briandquinn@gmail.com</email>
  </committer>
</commit>
