solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::Zone.with_shared_members
Returns all zones that contain any of the zone members of the zone passed in. This also includes any country zones that contain the state of the current zone, if it's a state zone. If the passed-in zone has members, it will also be in the result set.
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/app/models/spree/zone.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--Zone-with_shared_members-for-pr
# Commit to gitgit add core/app/models/spree/zone.rbgit commit -m "better docs for Spree::Zone.with_shared_members"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--Zone-with_shared_members-for-pr
hub pull-request
# Celebrate!