diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-10-29 23:12:13 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-10-29 23:12:13 +0000 |
commit | 54a4e506626e6538c6114ebb6e2756423d533c8f (patch) | |
tree | 95ef7fee530e0b2f222914e63ce400987eef1b0a | |
parent | eaf296f8fca7024c8374250ad0ee149a58b1a3ee (diff) | |
download | rails-54a4e506626e6538c6114ebb6e2756423d533c8f.tar.gz rails-54a4e506626e6538c6114ebb6e2756423d533c8f.tar.bz2 rails-54a4e506626e6538c6114ebb6e2756423d533c8f.zip |
Removed erroneous arg-size check in AC::Base.fragment_cache_store=. Closes #2650.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | actionpack/lib/action_controller/caching.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb index 37b3557c5d..7fe699c34e 100644 --- a/actionpack/lib/action_controller/caching.rb +++ b/actionpack/lib/action_controller/caching.rb @@ -256,7 +256,7 @@ module ActionController #:nodoc: @@fragment_cache_store = if store.is_a?(Symbol) store_class_name = (store == :drb_store ? "DRbStore" : store.to_s.camelize) store_class = ActionController::Caching::Fragments.const_get(store_class_name) - parameters.empty? ? store.new : store_class.new(*parameters) + store_class.new(*parameters) else store end |