projects
/
selectricity-live
/ 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-live]
/
app
/
models
/
election.rb
diff --git
a/app/models/election.rb
b/app/models/election.rb
old mode 100755
(executable)
new mode 100644
(file)
index
cf7bba5
..
3baeef0
--- 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?