solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::Migrations#check
Puts warning when any engine migration is not present on the Rails app db/migrate dir First split: ["20131128203548", "update_name_fields_on_spree_credit_cards.spree.rb"] Second split should give the engine_name of the migration ["update_name_fields_on_spree_credit_cards", "spree.rb"] Shouldn't run on test mode because migrations inside engine don't have engine name on the file name
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/lib/spree/migrations.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--Migrations-check-for-pr
# Commit to gitgit add core/lib/spree/migrations.rbgit commit -m "better docs for Spree::Migrations#check"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--Migrations-check-for-pr
hub pull-request
# Celebrate!