Work around CGI/fCGI bug with Webkit browsers.
authorC. Scott Ananian <cscott@cscott.net>
Sat, 22 Jan 2011 19:26:07 +0000 (14:26 -0500)
committerBenjamin Mako Hill <mako@atdot.cc>
Sun, 17 Jun 2012 23:13:06 +0000 (19:13 -0400)
http://www.google.com/search?q=ruby+rails+FAILSAFE+%22frozen+string%22
for more information.

app/views/common/_sortable_vote.rhtml

index 0fe6ad17d6d45b2617fb6f63e6f773707dfc04c7..75bb22f51765a6795986750e29747bc47ed39e47 100644 (file)
@@ -11,5 +11,6 @@
 
 <%= sortable_element 'rankings-list',
     :url => { :action => "sort_candidates", :id => @voter.vote.id },
+    :method => "get",
     :complete => visual_effect(:highlight, 'rankings-list') %>
 

Benjamin Mako Hill || Want to submit a patch?