module Rails::DevCaching
def enable_by_argument(caching)
def enable_by_argument(caching) FileUtils.mkdir_p("tmp") if caching create_cache_file elsif caching == false && File.exist?(FILE) delete_cache_file end end
def enable_by_argument(caching) FileUtils.mkdir_p("tmp") if caching create_cache_file elsif caching == false && File.exist?(FILE) delete_cache_file end end