]> projects.mako.cc - selectricity-live/blobdiff - config/environments/production.rb
Fix errors when viewing results as election creator before election close.
[selectricity-live] / config / environments / production.rb
index cb295b83f17285331882dfdc0eebddaecf32f773..4bb13510ef6ff610417fb7dd61803e5795e8eee1 100644 (file)
@@ -1,4 +1,8 @@
 # Settings specified here will take precedence over those in config/environment.rb
+#
+#Enable memcache
+require('memcache')
+Cache=MemCache.new('localhost', :compression => true)
 
 # The production environment is meant for finished, "live" apps.
 # Code is not reloaded between requests

Benjamin Mako Hill || Want to submit a patch?