brady8/thumbs_up — comment on commit 2ad8cef8e2221f429a43ea8d37eee78d2dfba433
File: lib/acts_as_voteable.rb line 28
By kevinelliott:

Since votes.vote is a boolean, have you tried simply matching against true/false in your CASE instead of forcing the cast? Seems to work for me over here.