alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::Element#cache_key
Returns the key that's taken for cache path. Uses the page's +published_at+ value that's updated when the user publishes the page. If the page is the current preview it uses the element's updated_at value as cache key.
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/models/alchemy/element.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--Element-cache_key-for-pr
# Commit to gitgit add app/models/alchemy/element.rbgit commit -m "better docs for Alchemy::Element#cache_key"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--Element-cache_key-for-pr
hub pull-request
# Celebrate!