{"action":"created","issue":{"url":"https://api.github.com/repos/sungwoncho/has_friendship/issues/35","repository_url":"https://api.github.com/repos/sungwoncho/has_friendship","labels_url":"https://api.github.com/repos/sungwoncho/has_friendship/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/sungwoncho/has_friendship/issues/35/comments","events_url":"https://api.github.com/repos/sungwoncho/has_friendship/issues/35/events","html_url":"https://github.com/sungwoncho/has_friendship/issues/35","id":158646260,"number":35,"title":"Don't see value inside friendships tables after use friend_request","user":{"login":"zirexba","id":4314978,"avatar_url":"https://avatars.githubusercontent.com/u/4314978?v=3","gravatar_id":"","url":"https://api.github.com/users/zirexba","html_url":"https://github.com/zirexba","followers_url":"https://api.github.com/users/zirexba/followers","following_url":"https://api.github.com/users/zirexba/following{/other_user}","gists_url":"https://api.github.com/users/zirexba/gists{/gist_id}","starred_url":"https://api.github.com/users/zirexba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zirexba/subscriptions","organizations_url":"https://api.github.com/users/zirexba/orgs","repos_url":"https://api.github.com/users/zirexba/repos","events_url":"https://api.github.com/users/zirexba/events{/privacy}","received_events_url":"https://api.github.com/users/zirexba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-06-06T10:27:00Z","updated_at":"2016-06-09T15:54:47Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to use this gem in my simple app and I created controller action and provide and everything goes well but when I trying to check pending_friends I am getting  \"#<User::ActiveRecord_Associations_CollectionProxy:0xa690f68>\"  \r\n\r\nIs my controller action code correct ?\r\n\r\ndef add_friend\r\n    @user = User.find_by_name(params[:id])\r\n    if @user != current_user\r\n      current_user.friend_request(@user)\r\n      redirect_to root_path\r\n    end\r\n  end"},"comment":{"url":"https://api.github.com/repos/sungwoncho/has_friendship/issues/comments/224940040","html_url":"https://github.com/sungwoncho/has_friendship/issues/35#issuecomment-224940040","issue_url":"https://api.github.com/repos/sungwoncho/has_friendship/issues/35","id":224940040,"user":{"login":"zirexba","id":4314978,"avatar_url":"https://avatars.githubusercontent.com/u/4314978?v=3","gravatar_id":"","url":"https://api.github.com/users/zirexba","html_url":"https://github.com/zirexba","followers_url":"https://api.github.com/users/zirexba/followers","following_url":"https://api.github.com/users/zirexba/following{/other_user}","gists_url":"https://api.github.com/users/zirexba/gists{/gist_id}","starred_url":"https://api.github.com/users/zirexba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zirexba/subscriptions","organizations_url":"https://api.github.com/users/zirexba/orgs","repos_url":"https://api.github.com/users/zirexba/repos","events_url":"https://api.github.com/users/zirexba/events{/privacy}","received_events_url":"https://api.github.com/users/zirexba/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T15:54:47Z","updated_at":"2016-06-09T15:54:47Z","body":"Hey @sungwoncho, maybe just  little note beside information about pending_friends that response  information is a list/array. Also, @Eblohm  one suggestion, How about getting date/time  of friendship.\r\nLike \"Friends from  12/12/2020\".    \r\n\r\nThank you!"}}
{"actor":{"display_login":"zirexba"}}