{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/appacademy/active_record_lite/pulls/17","id":26739446,"html_url":"https://github.com/appacademy/active_record_lite/pull/17","diff_url":"https://github.com/appacademy/active_record_lite/pull/17.diff","patch_url":"https://github.com/appacademy/active_record_lite/pull/17.patch","issue_url":"https://api.github.com/repos/appacademy/active_record_lite/issues/17","number":17,"state":"closed","locked":false,"title":"Update 03_associatable_spec.rb","user":{"login":"Amit-P-Amin","id":9831378,"avatar_url":"https://avatars.githubusercontent.com/u/9831378?v=3","gravatar_id":"","url":"https://api.github.com/users/Amit-P-Amin","html_url":"https://github.com/Amit-P-Amin","followers_url":"https://api.github.com/users/Amit-P-Amin/followers","following_url":"https://api.github.com/users/Amit-P-Amin/following{/other_user}","gists_url":"https://api.github.com/users/Amit-P-Amin/gists{/gist_id}","starred_url":"https://api.github.com/users/Amit-P-Amin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amit-P-Amin/subscriptions","organizations_url":"https://api.github.com/users/Amit-P-Amin/orgs","repos_url":"https://api.github.com/users/Amit-P-Amin/repos","events_url":"https://api.github.com/users/Amit-P-Amin/events{/privacy}","received_events_url":"https://api.github.com/users/Amit-P-Amin/received_events","type":"User","site_admin":false},"body":"Was confused for a while because \"AssocOptions #model_class returns class of associated object\" was failing. This is because that spec tests 2 methods, but the description just mentions 1 (only model class, instead of model class and table name). I split the test into two, one for the model class and one for the table name.","created_at":"2015-01-01T01:04:07Z","updated_at":"2015-01-02T17:59:25Z","closed_at":"2015-01-02T17:59:25Z","merged_at":"2015-01-02T17:59:25Z","merge_commit_sha":"d8dd0de5d0467cd788b25d2f707cdffdb1959385","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appacademy/active_record_lite/pulls/17/commits","review_comments_url":"https://api.github.com/repos/appacademy/active_record_lite/pulls/17/comments","review_comment_url":"https://api.github.com/repos/appacademy/active_record_lite/pulls/comments/{number}","comments_url":"https://api.github.com/repos/appacademy/active_record_lite/issues/17/comments","statuses_url":"https://api.github.com/repos/appacademy/active_record_lite/statuses/b5ac327b20f2041652e3228ce4612880aae97beb","head":{"label":"Amit-P-Amin:patch-1","ref":"patch-1","sha":"b5ac327b20f2041652e3228ce4612880aae97beb","user":{"login":"Amit-P-Amin","id":9831378,"avatar_url":"https://avatars.githubusercontent.com/u/9831378?v=3","gravatar_id":"","url":"https://api.github.com/users/Amit-P-Amin","html_url":"https://github.com/Amit-P-Amin","followers_url":"https://api.github.com/users/Amit-P-Amin/followers","following_url":"https://api.github.com/users/Amit-P-Amin/following{/other_user}","gists_url":"https://api.github.com/users/Amit-P-Amin/gists{/gist_id}","starred_url":"https://api.github.com/users/Amit-P-Amin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amit-P-Amin/subscriptions","organizations_url":"https://api.github.com/users/Amit-P-Amin/orgs","repos_url":"https://api.github.com/users/Amit-P-Amin/repos","events_url":"https://api.github.com/users/Amit-P-Amin/events{/privacy}","received_events_url":"https://api.github.com/users/Amit-P-Amin/received_events","type":"User","site_admin":false},"repo":{"id":28678217,"name":"active_record_lite","full_name":"Amit-P-Amin/active_record_lite","owner":{"login":"Amit-P-Amin","id":9831378,"avatar_url":"https://avatars.githubusercontent.com/u/9831378?v=3","gravatar_id":"","url":"https://api.github.com/users/Amit-P-Amin","html_url":"https://github.com/Amit-P-Amin","followers_url":"https://api.github.com/users/Amit-P-Amin/followers","following_url":"https://api.github.com/users/Amit-P-Amin/following{/other_user}","gists_url":"https://api.github.com/users/Amit-P-Amin/gists{/gist_id}","starred_url":"https://api.github.com/users/Amit-P-Amin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amit-P-Amin/subscriptions","organizations_url":"https://api.github.com/users/Amit-P-Amin/orgs","repos_url":"https://api.github.com/users/Amit-P-Amin/repos","events_url":"https://api.github.com/users/Amit-P-Amin/events{/privacy}","received_events_url":"https://api.github.com/users/Amit-P-Amin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Amit-P-Amin/active_record_lite","description":"","fork":true,"url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite","forks_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/forks","keys_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/teams","hooks_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/hooks","issue_events_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/issues/events{/number}","events_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/events","assignees_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/assignees{/user}","branches_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/branches{/branch}","tags_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/tags","blobs_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/statuses/{sha}","languages_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/languages","stargazers_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/stargazers","contributors_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/contributors","subscribers_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/subscribers","subscription_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/subscription","commits_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/issues/comments/{number}","contents_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/contents/{+path}","compare_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/merges","archive_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/downloads","issues_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/issues{/number}","pulls_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/pulls{/number}","milestones_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/milestones{/number}","notifications_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/labels{/name}","releases_url":"https://api.github.com/repos/Amit-P-Amin/active_record_lite/releases{/id}","created_at":"2015-01-01T01:00:39Z","updated_at":"2015-01-01T01:00:39Z","pushed_at":"2015-01-01T01:02:23Z","git_url":"git://github.com/Amit-P-Amin/active_record_lite.git","ssh_url":"git@github.com:Amit-P-Amin/active_record_lite.git","clone_url":"https://github.com/Amit-P-Amin/active_record_lite.git","svn_url":"https://github.com/Amit-P-Amin/active_record_lite","homepage":null,"size":196,"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":"appacademy:master","ref":"master","sha":"ca4e169591deec6c4b30b611e8ed5bdf89b3386a","user":{"login":"appacademy","id":2138704,"avatar_url":"https://avatars.githubusercontent.com/u/2138704?v=3","gravatar_id":"","url":"https://api.github.com/users/appacademy","html_url":"https://github.com/appacademy","followers_url":"https://api.github.com/users/appacademy/followers","following_url":"https://api.github.com/users/appacademy/following{/other_user}","gists_url":"https://api.github.com/users/appacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/appacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appacademy/subscriptions","organizations_url":"https://api.github.com/users/appacademy/orgs","repos_url":"https://api.github.com/users/appacademy/repos","events_url":"https://api.github.com/users/appacademy/events{/privacy}","received_events_url":"https://api.github.com/users/appacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":12024210,"name":"active_record_lite","full_name":"appacademy/active_record_lite","owner":{"login":"appacademy","id":2138704,"avatar_url":"https://avatars.githubusercontent.com/u/2138704?v=3","gravatar_id":"","url":"https://api.github.com/users/appacademy","html_url":"https://github.com/appacademy","followers_url":"https://api.github.com/users/appacademy/followers","following_url":"https://api.github.com/users/appacademy/following{/other_user}","gists_url":"https://api.github.com/users/appacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/appacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appacademy/subscriptions","organizations_url":"https://api.github.com/users/appacademy/orgs","repos_url":"https://api.github.com/users/appacademy/repos","events_url":"https://api.github.com/users/appacademy/events{/privacy}","received_events_url":"https://api.github.com/users/appacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appacademy/active_record_lite","description":"","fork":false,"url":"https://api.github.com/repos/appacademy/active_record_lite","forks_url":"https://api.github.com/repos/appacademy/active_record_lite/forks","keys_url":"https://api.github.com/repos/appacademy/active_record_lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appacademy/active_record_lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appacademy/active_record_lite/teams","hooks_url":"https://api.github.com/repos/appacademy/active_record_lite/hooks","issue_events_url":"https://api.github.com/repos/appacademy/active_record_lite/issues/events{/number}","events_url":"https://api.github.com/repos/appacademy/active_record_lite/events","assignees_url":"https://api.github.com/repos/appacademy/active_record_lite/assignees{/user}","branches_url":"https://api.github.com/repos/appacademy/active_record_lite/branches{/branch}","tags_url":"https://api.github.com/repos/appacademy/active_record_lite/tags","blobs_url":"https://api.github.com/repos/appacademy/active_record_lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appacademy/active_record_lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appacademy/active_record_lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/appacademy/active_record_lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appacademy/active_record_lite/statuses/{sha}","languages_url":"https://api.github.com/repos/appacademy/active_record_lite/languages","stargazers_url":"https://api.github.com/repos/appacademy/active_record_lite/stargazers","contributors_url":"https://api.github.com/repos/appacademy/active_record_lite/contributors","subscribers_url":"https://api.github.com/repos/appacademy/active_record_lite/subscribers","subscription_url":"https://api.github.com/repos/appacademy/active_record_lite/subscription","commits_url":"https://api.github.com/repos/appacademy/active_record_lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/appacademy/active_record_lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/appacademy/active_record_lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/appacademy/active_record_lite/issues/comments/{number}","contents_url":"https://api.github.com/repos/appacademy/active_record_lite/contents/{+path}","compare_url":"https://api.github.com/repos/appacademy/active_record_lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appacademy/active_record_lite/merges","archive_url":"https://api.github.com/repos/appacademy/active_record_lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appacademy/active_record_lite/downloads","issues_url":"https://api.github.com/repos/appacademy/active_record_lite/issues{/number}","pulls_url":"https://api.github.com/repos/appacademy/active_record_lite/pulls{/number}","milestones_url":"https://api.github.com/repos/appacademy/active_record_lite/milestones{/number}","notifications_url":"https://api.github.com/repos/appacademy/active_record_lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appacademy/active_record_lite/labels{/name}","releases_url":"https://api.github.com/repos/appacademy/active_record_lite/releases{/id}","created_at":"2013-08-10T17:32:19Z","updated_at":"2015-01-02T17:59:25Z","pushed_at":"2015-01-02T17:59:25Z","git_url":"git://github.com/appacademy/active_record_lite.git","ssh_url":"git@github.com:appacademy/active_record_lite.git","clone_url":"https://github.com/appacademy/active_record_lite.git","svn_url":"https://github.com/appacademy/active_record_lite","homepage":null,"size":632,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":1,"forks":13,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appacademy/active_record_lite/pulls/17"},"html":{"href":"https://github.com/appacademy/active_record_lite/pull/17"},"issue":{"href":"https://api.github.com/repos/appacademy/active_record_lite/issues/17"},"comments":{"href":"https://api.github.com/repos/appacademy/active_record_lite/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/appacademy/active_record_lite/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/appacademy/active_record_lite/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/appacademy/active_record_lite/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/appacademy/active_record_lite/statuses/b5ac327b20f2041652e3228ce4612880aae97beb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"w1zeman1p","id":3710766,"avatar_url":"https://avatars.githubusercontent.com/u/3710766?v=3","gravatar_id":"","url":"https://api.github.com/users/w1zeman1p","html_url":"https://github.com/w1zeman1p","followers_url":"https://api.github.com/users/w1zeman1p/followers","following_url":"https://api.github.com/users/w1zeman1p/following{/other_user}","gists_url":"https://api.github.com/users/w1zeman1p/gists{/gist_id}","starred_url":"https://api.github.com/users/w1zeman1p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w1zeman1p/subscriptions","organizations_url":"https://api.github.com/users/w1zeman1p/orgs","repos_url":"https://api.github.com/users/w1zeman1p/repos","events_url":"https://api.github.com/users/w1zeman1p/events{/privacy}","received_events_url":"https://api.github.com/users/w1zeman1p/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":1}}