solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::Promotion::Rules::Taxon#actionable?
TODO: Fix bug - well described by jhawthorn in #1409: `eligible?` checks the configured taxons and all descendants, `actionable?` only seems to check against the taxons themselves (not children)
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open legacy_promotions/app/models/spree/promotion/rules/taxon.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--Promotion--Rules--Taxon-actionable--for-pr
# Commit to gitgit add legacy_promotions/app/models/spree/promotion/rules/taxon.rbgit commit -m "better docs for Spree::Promotion::Rules::Taxon#actionable?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--Promotion--Rules--Taxon-actionable--for-pr
hub pull-request
# Celebrate!