{"action":"opened","number":57,"pull_request":{"url":"https://api.github.com/repos/raw1z/amistad/pulls/57","id":50302190,"html_url":"https://github.com/raw1z/amistad/pull/57","diff_url":"https://github.com/raw1z/amistad/pull/57.diff","patch_url":"https://github.com/raw1z/amistad/pull/57.patch","issue_url":"https://api.github.com/repos/raw1z/amistad/issues/57","number":57,"state":"open","locked":false,"title":"Add dependent: destroy to relationships","user":{"login":"aug-riedinger","id":1970156,"avatar_url":"https://avatars.githubusercontent.com/u/1970156?v=3","gravatar_id":"","url":"https://api.github.com/users/aug-riedinger","html_url":"https://github.com/aug-riedinger","followers_url":"https://api.github.com/users/aug-riedinger/followers","following_url":"https://api.github.com/users/aug-riedinger/following{/other_user}","gists_url":"https://api.github.com/users/aug-riedinger/gists{/gist_id}","starred_url":"https://api.github.com/users/aug-riedinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aug-riedinger/subscriptions","organizations_url":"https://api.github.com/users/aug-riedinger/orgs","repos_url":"https://api.github.com/users/aug-riedinger/repos","events_url":"https://api.github.com/users/aug-riedinger/events{/privacy}","received_events_url":"https://api.github.com/users/aug-riedinger/received_events","type":"User","site_admin":false},"body":"At some point, it made my app crash if I did not destroy the friendship objects along with the friendable one.\r\n\r\nSo I made this update. Please merge if you agree.","created_at":"2015-11-10T19:52:25Z","updated_at":"2015-11-10T19:52:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/raw1z/amistad/pulls/57/commits","review_comments_url":"https://api.github.com/repos/raw1z/amistad/pulls/57/comments","review_comment_url":"https://api.github.com/repos/raw1z/amistad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raw1z/amistad/issues/57/comments","statuses_url":"https://api.github.com/repos/raw1z/amistad/statuses/3c5090f8fdfcd0d0135b2b2d9fdaa7f4769de10c","head":{"label":"copass:master","ref":"master","sha":"3c5090f8fdfcd0d0135b2b2d9fdaa7f4769de10c","user":{"login":"copass","id":2734286,"avatar_url":"https://avatars.githubusercontent.com/u/2734286?v=3","gravatar_id":"","url":"https://api.github.com/users/copass","html_url":"https://github.com/copass","followers_url":"https://api.github.com/users/copass/followers","following_url":"https://api.github.com/users/copass/following{/other_user}","gists_url":"https://api.github.com/users/copass/gists{/gist_id}","starred_url":"https://api.github.com/users/copass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copass/subscriptions","organizations_url":"https://api.github.com/users/copass/orgs","repos_url":"https://api.github.com/users/copass/repos","events_url":"https://api.github.com/users/copass/events{/privacy}","received_events_url":"https://api.github.com/users/copass/received_events","type":"Organization","site_admin":false},"repo":{"id":20446508,"name":"amistad","full_name":"copass/amistad","owner":{"login":"copass","id":2734286,"avatar_url":"https://avatars.githubusercontent.com/u/2734286?v=3","gravatar_id":"","url":"https://api.github.com/users/copass","html_url":"https://github.com/copass","followers_url":"https://api.github.com/users/copass/followers","following_url":"https://api.github.com/users/copass/following{/other_user}","gists_url":"https://api.github.com/users/copass/gists{/gist_id}","starred_url":"https://api.github.com/users/copass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copass/subscriptions","organizations_url":"https://api.github.com/users/copass/orgs","repos_url":"https://api.github.com/users/copass/repos","events_url":"https://api.github.com/users/copass/events{/privacy}","received_events_url":"https://api.github.com/users/copass/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/copass/amistad","description":"Gem for friendships","fork":true,"url":"https://api.github.com/repos/copass/amistad","forks_url":"https://api.github.com/repos/copass/amistad/forks","keys_url":"https://api.github.com/repos/copass/amistad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/copass/amistad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/copass/amistad/teams","hooks_url":"https://api.github.com/repos/copass/amistad/hooks","issue_events_url":"https://api.github.com/repos/copass/amistad/issues/events{/number}","events_url":"https://api.github.com/repos/copass/amistad/events","assignees_url":"https://api.github.com/repos/copass/amistad/assignees{/user}","branches_url":"https://api.github.com/repos/copass/amistad/branches{/branch}","tags_url":"https://api.github.com/repos/copass/amistad/tags","blobs_url":"https://api.github.com/repos/copass/amistad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/copass/amistad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/copass/amistad/git/refs{/sha}","trees_url":"https://api.github.com/repos/copass/amistad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/copass/amistad/statuses/{sha}","languages_url":"https://api.github.com/repos/copass/amistad/languages","stargazers_url":"https://api.github.com/repos/copass/amistad/stargazers","contributors_url":"https://api.github.com/repos/copass/amistad/contributors","subscribers_url":"https://api.github.com/repos/copass/amistad/subscribers","subscription_url":"https://api.github.com/repos/copass/amistad/subscription","commits_url":"https://api.github.com/repos/copass/amistad/commits{/sha}","git_commits_url":"https://api.github.com/repos/copass/amistad/git/commits{/sha}","comments_url":"https://api.github.com/repos/copass/amistad/comments{/number}","issue_comment_url":"https://api.github.com/repos/copass/amistad/issues/comments{/number}","contents_url":"https://api.github.com/repos/copass/amistad/contents/{+path}","compare_url":"https://api.github.com/repos/copass/amistad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/copass/amistad/merges","archive_url":"https://api.github.com/repos/copass/amistad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/copass/amistad/downloads","issues_url":"https://api.github.com/repos/copass/amistad/issues{/number}","pulls_url":"https://api.github.com/repos/copass/amistad/pulls{/number}","milestones_url":"https://api.github.com/repos/copass/amistad/milestones{/number}","notifications_url":"https://api.github.com/repos/copass/amistad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/copass/amistad/labels{/name}","releases_url":"https://api.github.com/repos/copass/amistad/releases{/id}","created_at":"2014-06-03T14:43:15Z","updated_at":"2015-11-10T19:48:59Z","pushed_at":"2015-11-10T19:50:27Z","git_url":"git://github.com/copass/amistad.git","ssh_url":"git@github.com:copass/amistad.git","clone_url":"https://github.com/copass/amistad.git","svn_url":"https://github.com/copass/amistad","homepage":"http://github.com/raw1z/amistad","size":231,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"raw1z:master","ref":"master","sha":"3da822509611450e4777f6571ea0967fd5bf6602","user":{"login":"raw1z","id":198098,"avatar_url":"https://avatars.githubusercontent.com/u/198098?v=3","gravatar_id":"","url":"https://api.github.com/users/raw1z","html_url":"https://github.com/raw1z","followers_url":"https://api.github.com/users/raw1z/followers","following_url":"https://api.github.com/users/raw1z/following{/other_user}","gists_url":"https://api.github.com/users/raw1z/gists{/gist_id}","starred_url":"https://api.github.com/users/raw1z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raw1z/subscriptions","organizations_url":"https://api.github.com/users/raw1z/orgs","repos_url":"https://api.github.com/users/raw1z/repos","events_url":"https://api.github.com/users/raw1z/events{/privacy}","received_events_url":"https://api.github.com/users/raw1z/received_events","type":"User","site_admin":false},"repo":{"id":608537,"name":"amistad","full_name":"raw1z/amistad","owner":{"login":"raw1z","id":198098,"avatar_url":"https://avatars.githubusercontent.com/u/198098?v=3","gravatar_id":"","url":"https://api.github.com/users/raw1z","html_url":"https://github.com/raw1z","followers_url":"https://api.github.com/users/raw1z/followers","following_url":"https://api.github.com/users/raw1z/following{/other_user}","gists_url":"https://api.github.com/users/raw1z/gists{/gist_id}","starred_url":"https://api.github.com/users/raw1z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raw1z/subscriptions","organizations_url":"https://api.github.com/users/raw1z/orgs","repos_url":"https://api.github.com/users/raw1z/repos","events_url":"https://api.github.com/users/raw1z/events{/privacy}","received_events_url":"https://api.github.com/users/raw1z/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raw1z/amistad","description":"Adds friendships management into a rails application","fork":false,"url":"https://api.github.com/repos/raw1z/amistad","forks_url":"https://api.github.com/repos/raw1z/amistad/forks","keys_url":"https://api.github.com/repos/raw1z/amistad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raw1z/amistad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raw1z/amistad/teams","hooks_url":"https://api.github.com/repos/raw1z/amistad/hooks","issue_events_url":"https://api.github.com/repos/raw1z/amistad/issues/events{/number}","events_url":"https://api.github.com/repos/raw1z/amistad/events","assignees_url":"https://api.github.com/repos/raw1z/amistad/assignees{/user}","branches_url":"https://api.github.com/repos/raw1z/amistad/branches{/branch}","tags_url":"https://api.github.com/repos/raw1z/amistad/tags","blobs_url":"https://api.github.com/repos/raw1z/amistad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raw1z/amistad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raw1z/amistad/git/refs{/sha}","trees_url":"https://api.github.com/repos/raw1z/amistad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raw1z/amistad/statuses/{sha}","languages_url":"https://api.github.com/repos/raw1z/amistad/languages","stargazers_url":"https://api.github.com/repos/raw1z/amistad/stargazers","contributors_url":"https://api.github.com/repos/raw1z/amistad/contributors","subscribers_url":"https://api.github.com/repos/raw1z/amistad/subscribers","subscription_url":"https://api.github.com/repos/raw1z/amistad/subscription","commits_url":"https://api.github.com/repos/raw1z/amistad/commits{/sha}","git_commits_url":"https://api.github.com/repos/raw1z/amistad/git/commits{/sha}","comments_url":"https://api.github.com/repos/raw1z/amistad/comments{/number}","issue_comment_url":"https://api.github.com/repos/raw1z/amistad/issues/comments{/number}","contents_url":"https://api.github.com/repos/raw1z/amistad/contents/{+path}","compare_url":"https://api.github.com/repos/raw1z/amistad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raw1z/amistad/merges","archive_url":"https://api.github.com/repos/raw1z/amistad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raw1z/amistad/downloads","issues_url":"https://api.github.com/repos/raw1z/amistad/issues{/number}","pulls_url":"https://api.github.com/repos/raw1z/amistad/pulls{/number}","milestones_url":"https://api.github.com/repos/raw1z/amistad/milestones{/number}","notifications_url":"https://api.github.com/repos/raw1z/amistad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raw1z/amistad/labels{/name}","releases_url":"https://api.github.com/repos/raw1z/amistad/releases{/id}","created_at":"2010-04-13T15:02:10Z","updated_at":"2015-11-09T15:49:13Z","pushed_at":"2015-09-18T06:04:59Z","git_url":"git://github.com/raw1z/amistad.git","ssh_url":"git@github.com:raw1z/amistad.git","clone_url":"https://github.com/raw1z/amistad.git","svn_url":"https://github.com/raw1z/amistad","homepage":"http://github.com/raw1z/amistad","size":1336,"stargazers_count":181,"watchers_count":181,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":16,"forks":67,"open_issues":16,"watchers":181,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/raw1z/amistad/pulls/57"},"html":{"href":"https://github.com/raw1z/amistad/pull/57"},"issue":{"href":"https://api.github.com/repos/raw1z/amistad/issues/57"},"comments":{"href":"https://api.github.com/repos/raw1z/amistad/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/raw1z/amistad/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/raw1z/amistad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raw1z/amistad/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/raw1z/amistad/statuses/3c5090f8fdfcd0d0135b2b2d9fdaa7f4769de10c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":6,"deletions":3,"changed_files":1}}