README.markdown in acts_as_votable-0.2.0 vs README.markdown in acts_as_votable-0.3.0

- old
+ new

@@ -139,9 +139,24 @@ @user.voted_as_when_voted_for @comment1 # => true, he liked it @user.voted_as_when_voted_for @comment2 # => false, he didnt like it @user.voted_as_when_voted_for @comment3 # => nil, he has yet to vote +You can also check whether the voter has voted up or down. + + @user.likes @comment1 + @user.dislikes @comment2 + # user has not voted on @comment3 + + @user.voted_up_on? @comment1 # => true + @user.voted_down_on? @comment1 # => false + + @user.voted_down_on? @comment2 # => true + @user.voted_up_on? @comment2 # => false + + @user.voted_up_on? @comment3 # => false + @user.voted_down_on? @comment3 # => false + ### Registered Votes Voters can only vote once per model. In this example the 2nd vote does not count because @user has already voted for @shoe.