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