module Neo4j::ActiveNode::Labels::Reloading::ClassMethods

Public Instance Methods

before_remove_const() click to toggle source
   # File lib/neo4j/active_node/labels/reloading.rb
13 def before_remove_const
14   associations.each_value(&:queue_model_refresh!)
15   MODELS_FOR_LABELS_CACHE.clear
16   WRAPPED_CLASSES.each { |c| MODELS_TO_RELOAD << c.name }
17   WRAPPED_CLASSES.clear
18 end