Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTodd Nestor
10,689 PointsBlocked users see they are blocked
I noticed as I was following along with the tutorial that when a user who has been blocked by another user goes to view his "blocked users" he sees the user that has blocked him. Not only that but he has the ability to destroy that friendship so that there is no longer that blocked relationship.
In my version I created a status called "been_blocked" and updated the controllers and models to reflect that. My "block_mutual_friendship" method changes that friendship to the "been_blocked" status and the friends' lists don't show users that have blocked you.
This may be taken care of in the Advanced tutorial that works with this app, I am just starting that one but I thought I'd point it out.
1 Answer
Todd Nestor
10,689 PointsI guess I should put something here so that it shows as answered, it wasn't really a question anyway...
Is there a place to just make posts instead of questions that this would have been better-suited for?