Rails cache_action 样式都没了

sforce100 · January 29, 2013 · Last by ywencn replied at January 29, 2013 · 2061 hits

class BookController < ApplicationController caches_action :show, :layout => false cache_sweeper :book_sweeper, :only => [:create, :update, :destroy] def show ..... end end

development 下跑.....样式都不出来了 cache 的内容不是存到文件系统的 public 目录下的吗?我发现 caches_action 的内容都在 tmp 目录下了。

caches_page 才是在 public

You need to Sign in before reply, if you don't have an account, please Sign up first.