Sha256: 433e503a7d30a6432fd6b2a9d9177f67e7ec937286b0bbdb48ac11144cf00003
Contents?: true
Size: 493 Bytes
Versions: 176
Compression:
Stored size: 493 Bytes
Contents
module Neo4j::ActiveNode::Labels module Reloading extend ActiveSupport::Concern MODELS_TO_RELOAD = [] def self.reload_models! MODELS_TO_RELOAD.each(&:constantize) MODELS_TO_RELOAD.clear end module ClassMethods def before_remove_const associations.each_value(&:queue_model_refresh!) MODELS_FOR_LABELS_CACHE.clear WRAPPED_CLASSES.each { |c| MODELS_TO_RELOAD << c.name } WRAPPED_CLASSES.clear end end end end
Version data entries
176 entries across 176 versions & 3 rubygems