Show
Ignore:
Timestamp:
09/10/09 14:36:38 (4 years ago)
Author:
mauriciobomfim
Message:

Implemented refresh_cache of nodes in case of changes on NodeLinks?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/models/node.rb

    r108 r114  
    2222        @@find_cache = {} 
    2323                 
     24  def Node.refresh_cache       
     25    @@find_cache = {} 
     26  end 
     27     
    2428                def refresh_cache 
    25                         @@find_cache = {} 
     29                        Node.refresh_cache 
    2630                end 
    2731