module ActiveSupport::LazyLoadHooks
def with_execution_control(name, block, once)
def with_execution_control(name, block, once) unless @run_once[name].include?(block) @run_once[name] << block if once yield end end
def with_execution_control(name, block, once) unless @run_once[name].include?(block) @run_once[name] << block if once yield end end