Skip to content

Instantly share code, notes, and snippets.

@photomattmills
Created June 15, 2011 16:32
Show Gist options
  • Save photomattmills/1027487 to your computer and use it in GitHub Desktop.
Save photomattmills/1027487 to your computer and use it in GitHub Desktop.
code example
shipment = Shipment.create(:order_id => order.id) #assume we have the order loaded already
shipment = Shipment.find(shipment.id)
shipment.save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment