diff options
author | Gonzalo Rodriguez <gonzalo@wyeworks.com> | 2011-07-23 17:57:04 -0300 |
---|---|---|
committer | Gonzalo Rodriguez <gonzalo@wyeworks.com> | 2011-07-23 17:57:04 -0300 |
commit | 49b0f9e3950a529dbab6e930a0bb44035d96484f (patch) | |
tree | 63fb1611847e78886a05dbad3a8e2ae10afad26e /activesupport/lib/active_support/cache | |
parent | c3346b31c9ddb564bdd0648e03f077035fcaacb9 (diff) | |
download | rails-49b0f9e3950a529dbab6e930a0bb44035d96484f.tar.gz rails-49b0f9e3950a529dbab6e930a0bb44035d96484f.tar.bz2 rails-49b0f9e3950a529dbab6e930a0bb44035d96484f.zip |
Fix ActiveSupport::Cache::FileStore#file_path_key does not work if initialized with Pathname
Port from 3-1-stable
Diffstat (limited to 'activesupport/lib/active_support/cache')
-rw-r--r-- | activesupport/lib/active_support/cache/file_store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache/file_store.rb b/activesupport/lib/active_support/cache/file_store.rb index c4da04e532..f7c01948b4 100644 --- a/activesupport/lib/active_support/cache/file_store.rb +++ b/activesupport/lib/active_support/cache/file_store.rb @@ -16,7 +16,7 @@ module ActiveSupport def initialize(cache_path, options = nil) super(options) - @cache_path = cache_path + @cache_path = cache_path.to_s extend Strategy::LocalCache end |