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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
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!
This topic is locked and can not be replied to.