validate inclusion => { :in => ["Post", :Comment"] } is a little more precise.  technically i can create a votable type PostKeithClass or MyCommentHackClass and your validations would pass.