projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed all triggerable DeprecationWarnings. BE ON LOOKOUT FOR REGRESSIONS.
[selectricity]
/
app
/
models
/
election.rb
diff --git
a/app/models/election.rb
b/app/models/election.rb
index cf7bba58a2974f409a2828226d4dd43dc2f023ac..3baeef08e16fe95192f9b5810fe6b43c9de4fcba 100644
(file)
--- a/
app/models/election.rb
+++ b/
app/models/election.rb
@@
-57,7
+57,7
@@
class Election < ActiveRecord::Base
end
def quickvote?
-
type
== 'QuickVote'
+
self.class
== 'QuickVote'
end
def active?
Benjamin Mako Hill
||
Want to submit a patch?