forked from defkode/activerecord_cache_store
-
Notifications
You must be signed in to change notification settings - Fork 0
Database Cache Store for Rails 3
jrust/activerecord_cache_store
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Installation ============ gem install activerecord_cache_store Setup ===== in your environment: config.cache_store = :active_record_store Cache Migration =============== rails g cache_migration rake db:migrate Usage ===== <% cache do %> some html <% end> Rails.cache.clear # clear all cache Rails.cache.cleanup # clear expired cache entries more about Rails caching http://guides.rubyonrails.org/caching_with_rails.html Notes ===== https://rails.lighthouseapp.com/projects/8994/tickets/4452-making-activesupportcache-consistent
About
Database Cache Store for Rails 3
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Ruby 100.0%