search for: cached_view

Displaying 1 result from an estimated 1 matches for "cached_view".

Did you mean: cache_view
2006 May 15
10
BackgrounDRb background task runner and Application Wide Context Store
...e. MiddleMan.new_worker(:class => :foo_worker, :args => "Bar" :job_key => ''shared_resource'') For caching text or simple hashes or arrays or even rendered views you can use a hash like syntax on MiddleMan: MiddleMan[:cached_view] = render_to_string(:action => ''complex_view'') Then you can retrieve the cached rendered view just like a hash with: MiddleMan[:cached_view] You could create this cache and then have an ActiveRecord observer expire the cache and create a new one when the data changes. Delete...