solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::Shipment#update!
Updates various aspects of the Shipment while bypassing any callbacks. Note that this method takes an explicit reference to the Order object. This is necessary because the association actually has a stale (and unsaved) copy of the Order and so it will not yield the correct results.
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/app/models/spree/shipment.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--Shipment-update--for-pr
# Commit to gitgit add core/app/models/spree/shipment.rbgit commit -m "better docs for Spree::Shipment#update!"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--Shipment-update--for-pr
hub pull-request
# Celebrate!