The pull request with all the code.

Rails is smart enough to know where to send the user, so when you have `user_path(user_object)` you can just use `user_object`, so in this case you can just have `friendship.friend` instead of `user_path(friendship.friend)`