]> 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 d1b8f88479fbf2597c18ed3baaae3c5a2f248909..4bb13510ef6ff610417fb7dd61803e5795e8eee1 100644 (file)
@@ -1,8 +1,9 @@
 # Settings specified here will take precedence over those in config/environment.rb
 #
 #Enable memcache
-#require('memcache')
-#Cache=MemCache.new('localhost', :compression => true)
+require('memcache')
+Cache=MemCache.new('localhost', :compression => true)
+
 # The production environment is meant for finished, "live" apps.
 # Code is not reloaded between requests
 config.cache_classes = true

Benjamin Mako Hill || Want to submit a patch?