alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::ContentTouching#touch_contents
If the model has a +contents+ association, it updates all their timestamps. CAUTION: Only use on bottom to top releations, e.g. +Alchemy::Picture+ or +Alchemy::Attachment+ not on top to bottom ones like +Alchemy::Element+.
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/models/concerns/alchemy/content_touching.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--ContentTouching-touch_contents-for-pr
# Commit to gitgit add app/models/concerns/alchemy/content_touching.rbgit commit -m "better docs for Alchemy::ContentTouching#touch_contents"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--ContentTouching-touch_contents-for-pr
hub pull-request
# Celebrate!