self.enddate = DateTime.now + 30
self.active = 1
self.anonymous = 1
+ self.quickvote = 1
end
def candidatelist=(candstring='')
end
def reviewed?
- if reviewed.to_i == 1
- return true
- else
- false
- end
+ reviewed.to_i == 1
end
def create_candidates