solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::State.states_group_by_country_id
table of { country.id => [ state.id , state.name ] }, arrays sorted by name
blank is added elsewhere, if neededEdit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/app/models/spree/state.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--State-states_group_by_country_id-for-pr
# Commit to gitgit add core/app/models/spree/state.rbgit commit -m "better docs for Spree::State.states_group_by_country_id"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--State-states_group_by_country_id-for-pr
hub pull-request
# Celebrate!