Skip to content

Commit

Permalink
Cleaned up app/models/vote.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
caleywoods committed Apr 28, 2012
1 parent bbc5275 commit a0229e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/vote.rb
Expand Up @@ -10,8 +10,6 @@ class Vote < ActiveRecord::Base

attr_accessible :vote, :voter, :voteable


# Comment out the line below to allow multiple votes per user.
validates_uniqueness_of :voteable_id, :scope => [:voteable_type, :voter_type, :voter_id]

end

0 comments on commit a0229e9

Please sign in to comment.