Purged git history and removed sensitive information.

This commit is contained in:
Luke Barratt 2014-03-23 00:22:25 +00:00
commit 6bcc8dc76b
862 changed files with 25312 additions and 0 deletions

View file

@ -0,0 +1,15 @@
class GatherServer < ActiveRecord::Base
scope :ordered, :order => "votes DESC"
belongs_to :gather
belongs_to :server
has_many :real_votes, :class_name => "Vote", :as => :votable
def to_s
self.server.to_s
end
def before_create
self.votes = 0
end
end