Forum: Ruby on Rails config.cache_store file path ignored?

F0f84a42069fc37eb2552e69bb211458?d=identicon&s=25 pete (Guest)
on 2011-07-01 19:33
(Received via mailing list)
Hi-

I have enabled caching in my application and am using the :file_store
option, as shown below (enabled in each environment).

config.cache_store = :file_store, "#{Rails.root}/public/cache"

Why is it that the file path I set is ignored?  Everything seems to
get dumped out to /public, by default.

Thanks!
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.