molten-trunk/molten5_withgrid/lib/cache_cleaner_observer.rb
def refresh_fragments_for_model(model)
    p "[#{Time.now}] Refreshing cache for Class [#{model.class}]"
    # p Net::HTTP.get_print( URI.parse( url_for( :controller => 'caching', :action => model.class.to_s.underscore, :id => model.id ) ) )
    drbCacheBuilder.expire( url_for( :controller => 'caching', :action => model.class.to_s.underscore, :id => model.id ) )
  end
# Sends a request to the CachingController with corresponding action name. 
# This action should correspond to a view that loads up all fragments that need to be cached for the _model_.
Sends a request to the CachingController with corresponding action name.
This action should correspond to a view that loads up all fragments that need to be cached for the _model_.
Sends a request to the CachingController with corresponding action name . This action should correspond to a view that loads up all fragments that need to be cached for the _model_ .
def refresh_fragments_for_model(model)
    p "[#{Time.now}] Refreshing cache for Class [#{model.class}]"
    drbCacheBuilder.expire( url_for( :controller => 'caching', :action => model.class.to_s.underscore, :id => model.id ) )
  end
def refresh_fragments_for_model ( model ) p "[#{Time.now}] Refreshing cache for Class [#{model.class}]" drbCacheBuilder . expire ( url_for ( :controller => 'caching' , :action => model . class . to_s . underscore , :id => model . id ) ) end
Sends a request to the CachingController with corresponding action name.
Sends a request to the CachingController with corresponding action name .
# p Net::HTTP.get_print( URI.parse( url_for( :controller => 'caching', :action => model.class.to_s.underscore, :id => model.id ) ) )
model