Permalink
Browse files

Fix ActiveSupport::Cache::FileStore#file_path_key does not work if in…

…itialized with Pathname
  • Loading branch information...
1 parent 3534791 commit 48e134b9878ab7ac536e95d2b81768ed465374e1 @grzuy grzuy committed Jul 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/cache/file_store.rb
@@ -16,7 +16,7 @@ class FileStore < Store
def initialize(cache_path, options = nil)
super(options)
- @cache_path = cache_path
+ @cache_path = cache_path.to_s
extend Strategy::LocalCache
end

0 comments on commit 48e134b

Please sign in to comment.