Forum: Ruby on Rails fragment cache erorr - view 2 times

1042dba6177fdc7b7fa1279215cd6a2e?d=identicon&s=25 Svetlana Vt (svetlana)
on 2011-08-26 17:10
(Received via mailing list)
I have rails 3.0.9 + nginx + memcached + dalli.

#production.rb
config.cache_store = :dalli_store, Memcache_servers, { :namespace =>
'koolinar', :expires_in => 1.day, :compress => true }

#app/view/test/test.html.erb
  <% cache do %>hello<% end %>

in browser i get
hello hello

Result is shown twice.

Hope you can help me
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.