SQL Cache plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install svn://rubyforge.org/var/svn/railssqlcache/sql_cache
1. Enhance your database-configuration wth the line
sql_cache: true development: adapter: postgresql database: app_development username: user password: password host: localhost port: 5432 sql_cache: true
2. specify a model as cacheable
class Product < ActiveRecord::Base
cacheable
...
end
and the results of all database queries for this model would be cached.
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 7 months ago

