# File lib/acts_as_voter.rb, line 52 def voted_on?(voteable) 0 < Vote.count(:all, :conditions => [ "voter_id = ? AND voter_type = ? AND voteable_id = ? AND voteable_type = ?", self.id, self.class.name, voteable.id, voteable.class.name ]) end