has-friendship / has_friendship

Add friendship to ActiveRecord models
MIT License
198 stars 98 forks source link

friends_with? returns true if users are not friends #21

Closed tr0ythex closed 8 years ago

tr0ythex commented 8 years ago

User1 sends request to user2 user1.friend_request(user2) And now even if user2 hasn't accepted friend request from user1, friends_with? return true

user1.friends_with?(user2)
=> true
user2.friends_with?(user1)
=> true
sungwoncho commented 8 years ago

Fixed in 0.1.2

tr0ythex commented 8 years ago

Thank you man)