added artists, comments

This commit is contained in:
albert
2010-02-15 13:59:58 -05:00
parent 3d9d6e229a
commit e9c2d1e636
28 changed files with 1044 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
class CommentVote < ActiveRecord::Base
belongs_to :comment
belongs_to :user
def self.prune!
destroy_all(["created_at < ?", 14.days.ago])
end
end