{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/TommyJohnWear/spree/pulls/26","id":52021564,"html_url":"https://github.com/TommyJohnWear/spree/pull/26","diff_url":"https://github.com/TommyJohnWear/spree/pull/26.diff","patch_url":"https://github.com/TommyJohnWear/spree/pull/26.patch","issue_url":"https://api.github.com/repos/TommyJohnWear/spree/issues/26","number":26,"state":"closed","locked":false,"title":"Add some inverse_of options to core associations","user":{"login":"adammathys","id":876067,"avatar_url":"https://avatars.githubusercontent.com/u/876067?v=3","gravatar_id":"","url":"https://api.github.com/users/adammathys","html_url":"https://github.com/adammathys","followers_url":"https://api.github.com/users/adammathys/followers","following_url":"https://api.github.com/users/adammathys/following{/other_user}","gists_url":"https://api.github.com/users/adammathys/gists{/gist_id}","starred_url":"https://api.github.com/users/adammathys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammathys/subscriptions","organizations_url":"https://api.github.com/users/adammathys/orgs","repos_url":"https://api.github.com/users/adammathys/repos","events_url":"https://api.github.com/users/adammathys/events{/privacy}","received_events_url":"https://api.github.com/users/adammathys/received_events","type":"User","site_admin":false},"body":"Will help reduce some queries as these things are often referenced from each other.","created_at":"2015-11-27T19:50:57Z","updated_at":"2015-11-30T19:31:56Z","closed_at":"2015-11-30T19:31:56Z","merged_at":"2015-11-30T19:31:56Z","merge_commit_sha":"471a2a1b7753edef57cae4f4139d7742a70bb849","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TommyJohnWear/spree/pulls/26/commits","review_comments_url":"https://api.github.com/repos/TommyJohnWear/spree/pulls/26/comments","review_comment_url":"https://api.github.com/repos/TommyJohnWear/spree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TommyJohnWear/spree/issues/26/comments","statuses_url":"https://api.github.com/repos/TommyJohnWear/spree/statuses/03ff202de04a836bb973a6a1009f81a6364b82bc","head":{"label":"TommyJohnWear:add-more-inverse-of","ref":"add-more-inverse-of","sha":"03ff202de04a836bb973a6a1009f81a6364b82bc","user":{"login":"TommyJohnWear","id":7293672,"avatar_url":"https://avatars.githubusercontent.com/u/7293672?v=3","gravatar_id":"","url":"https://api.github.com/users/TommyJohnWear","html_url":"https://github.com/TommyJohnWear","followers_url":"https://api.github.com/users/TommyJohnWear/followers","following_url":"https://api.github.com/users/TommyJohnWear/following{/other_user}","gists_url":"https://api.github.com/users/TommyJohnWear/gists{/gist_id}","starred_url":"https://api.github.com/users/TommyJohnWear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TommyJohnWear/subscriptions","organizations_url":"https://api.github.com/users/TommyJohnWear/orgs","repos_url":"https://api.github.com/users/TommyJohnWear/repos","events_url":"https://api.github.com/users/TommyJohnWear/events{/privacy}","received_events_url":"https://api.github.com/users/TommyJohnWear/received_events","type":"Organization","site_admin":false},"repo":{"id":8230491,"name":"spree","full_name":"TommyJohnWear/spree","owner":{"login":"TommyJohnWear","id":7293672,"avatar_url":"https://avatars.githubusercontent.com/u/7293672?v=3","gravatar_id":"","url":"https://api.github.com/users/TommyJohnWear","html_url":"https://github.com/TommyJohnWear","followers_url":"https://api.github.com/users/TommyJohnWear/followers","following_url":"https://api.github.com/users/TommyJohnWear/following{/other_user}","gists_url":"https://api.github.com/users/TommyJohnWear/gists{/gist_id}","starred_url":"https://api.github.com/users/TommyJohnWear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TommyJohnWear/subscriptions","organizations_url":"https://api.github.com/users/TommyJohnWear/orgs","repos_url":"https://api.github.com/users/TommyJohnWear/repos","events_url":"https://api.github.com/users/TommyJohnWear/events{/privacy}","received_events_url":"https://api.github.com/users/TommyJohnWear/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TommyJohnWear/spree","description":"Spree is a complete open source e-commerce solution for Ruby on Rails.","fork":true,"url":"https://api.github.com/repos/TommyJohnWear/spree","forks_url":"https://api.github.com/repos/TommyJohnWear/spree/forks","keys_url":"https://api.github.com/repos/TommyJohnWear/spree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TommyJohnWear/spree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TommyJohnWear/spree/teams","hooks_url":"https://api.github.com/repos/TommyJohnWear/spree/hooks","issue_events_url":"https://api.github.com/repos/TommyJohnWear/spree/issues/events{/number}","events_url":"https://api.github.com/repos/TommyJohnWear/spree/events","assignees_url":"https://api.github.com/repos/TommyJohnWear/spree/assignees{/user}","branches_url":"https://api.github.com/repos/TommyJohnWear/spree/branches{/branch}","tags_url":"https://api.github.com/repos/TommyJohnWear/spree/tags","blobs_url":"https://api.github.com/repos/TommyJohnWear/spree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TommyJohnWear/spree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TommyJohnWear/spree/git/refs{/sha}","trees_url":"https://api.github.com/repos/TommyJohnWear/spree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TommyJohnWear/spree/statuses/{sha}","languages_url":"https://api.github.com/repos/TommyJohnWear/spree/languages","stargazers_url":"https://api.github.com/repos/TommyJohnWear/spree/stargazers","contributors_url":"https://api.github.com/repos/TommyJohnWear/spree/contributors","subscribers_url":"https://api.github.com/repos/TommyJohnWear/spree/subscribers","subscription_url":"https://api.github.com/repos/TommyJohnWear/spree/subscription","commits_url":"https://api.github.com/repos/TommyJohnWear/spree/commits{/sha}","git_commits_url":"https://api.github.com/repos/TommyJohnWear/spree/git/commits{/sha}","comments_url":"https://api.github.com/repos/TommyJohnWear/spree/comments{/number}","issue_comment_url":"https://api.github.com/repos/TommyJohnWear/spree/issues/comments{/number}","contents_url":"https://api.github.com/repos/TommyJohnWear/spree/contents/{+path}","compare_url":"https://api.github.com/repos/TommyJohnWear/spree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TommyJohnWear/spree/merges","archive_url":"https://api.github.com/repos/TommyJohnWear/spree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TommyJohnWear/spree/downloads","issues_url":"https://api.github.com/repos/TommyJohnWear/spree/issues{/number}","pulls_url":"https://api.github.com/repos/TommyJohnWear/spree/pulls{/number}","milestones_url":"https://api.github.com/repos/TommyJohnWear/spree/milestones{/number}","notifications_url":"https://api.github.com/repos/TommyJohnWear/spree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TommyJohnWear/spree/labels{/name}","releases_url":"https://api.github.com/repos/TommyJohnWear/spree/releases{/id}","created_at":"2013-02-16T02:56:40Z","updated_at":"2014-08-13T14:28:06Z","pushed_at":"2015-11-30T19:31:56Z","git_url":"git://github.com/TommyJohnWear/spree.git","ssh_url":"git@github.com:TommyJohnWear/spree.git","clone_url":"https://github.com/TommyJohnWear/spree.git","svn_url":"https://github.com/TommyJohnWear/spree","homepage":"http://spreecommerce.com","size":65027,"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":"TommyJohnWear:opco_2.1.17","ref":"opco_2.1.17","sha":"91876607d1824490d4027aeabd44940665bc30ba","user":{"login":"TommyJohnWear","id":7293672,"avatar_url":"https://avatars.githubusercontent.com/u/7293672?v=3","gravatar_id":"","url":"https://api.github.com/users/TommyJohnWear","html_url":"https://github.com/TommyJohnWear","followers_url":"https://api.github.com/users/TommyJohnWear/followers","following_url":"https://api.github.com/users/TommyJohnWear/following{/other_user}","gists_url":"https://api.github.com/users/TommyJohnWear/gists{/gist_id}","starred_url":"https://api.github.com/users/TommyJohnWear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TommyJohnWear/subscriptions","organizations_url":"https://api.github.com/users/TommyJohnWear/orgs","repos_url":"https://api.github.com/users/TommyJohnWear/repos","events_url":"https://api.github.com/users/TommyJohnWear/events{/privacy}","received_events_url":"https://api.github.com/users/TommyJohnWear/received_events","type":"Organization","site_admin":false},"repo":{"id":8230491,"name":"spree","full_name":"TommyJohnWear/spree","owner":{"login":"TommyJohnWear","id":7293672,"avatar_url":"https://avatars.githubusercontent.com/u/7293672?v=3","gravatar_id":"","url":"https://api.github.com/users/TommyJohnWear","html_url":"https://github.com/TommyJohnWear","followers_url":"https://api.github.com/users/TommyJohnWear/followers","following_url":"https://api.github.com/users/TommyJohnWear/following{/other_user}","gists_url":"https://api.github.com/users/TommyJohnWear/gists{/gist_id}","starred_url":"https://api.github.com/users/TommyJohnWear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TommyJohnWear/subscriptions","organizations_url":"https://api.github.com/users/TommyJohnWear/orgs","repos_url":"https://api.github.com/users/TommyJohnWear/repos","events_url":"https://api.github.com/users/TommyJohnWear/events{/privacy}","received_events_url":"https://api.github.com/users/TommyJohnWear/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TommyJohnWear/spree","description":"Spree is a complete open source e-commerce solution for Ruby on Rails.","fork":true,"url":"https://api.github.com/repos/TommyJohnWear/spree","forks_url":"https://api.github.com/repos/TommyJohnWear/spree/forks","keys_url":"https://api.github.com/repos/TommyJohnWear/spree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TommyJohnWear/spree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TommyJohnWear/spree/teams","hooks_url":"https://api.github.com/repos/TommyJohnWear/spree/hooks","issue_events_url":"https://api.github.com/repos/TommyJohnWear/spree/issues/events{/number}","events_url":"https://api.github.com/repos/TommyJohnWear/spree/events","assignees_url":"https://api.github.com/repos/TommyJohnWear/spree/assignees{/user}","branches_url":"https://api.github.com/repos/TommyJohnWear/spree/branches{/branch}","tags_url":"https://api.github.com/repos/TommyJohnWear/spree/tags","blobs_url":"https://api.github.com/repos/TommyJohnWear/spree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TommyJohnWear/spree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TommyJohnWear/spree/git/refs{/sha}","trees_url":"https://api.github.com/repos/TommyJohnWear/spree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TommyJohnWear/spree/statuses/{sha}","languages_url":"https://api.github.com/repos/TommyJohnWear/spree/languages","stargazers_url":"https://api.github.com/repos/TommyJohnWear/spree/stargazers","contributors_url":"https://api.github.com/repos/TommyJohnWear/spree/contributors","subscribers_url":"https://api.github.com/repos/TommyJohnWear/spree/subscribers","subscription_url":"https://api.github.com/repos/TommyJohnWear/spree/subscription","commits_url":"https://api.github.com/repos/TommyJohnWear/spree/commits{/sha}","git_commits_url":"https://api.github.com/repos/TommyJohnWear/spree/git/commits{/sha}","comments_url":"https://api.github.com/repos/TommyJohnWear/spree/comments{/number}","issue_comment_url":"https://api.github.com/repos/TommyJohnWear/spree/issues/comments{/number}","contents_url":"https://api.github.com/repos/TommyJohnWear/spree/contents/{+path}","compare_url":"https://api.github.com/repos/TommyJohnWear/spree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TommyJohnWear/spree/merges","archive_url":"https://api.github.com/repos/TommyJohnWear/spree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TommyJohnWear/spree/downloads","issues_url":"https://api.github.com/repos/TommyJohnWear/spree/issues{/number}","pulls_url":"https://api.github.com/repos/TommyJohnWear/spree/pulls{/number}","milestones_url":"https://api.github.com/repos/TommyJohnWear/spree/milestones{/number}","notifications_url":"https://api.github.com/repos/TommyJohnWear/spree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TommyJohnWear/spree/labels{/name}","releases_url":"https://api.github.com/repos/TommyJohnWear/spree/releases{/id}","created_at":"2013-02-16T02:56:40Z","updated_at":"2014-08-13T14:28:06Z","pushed_at":"2015-11-30T19:31:56Z","git_url":"git://github.com/TommyJohnWear/spree.git","ssh_url":"git@github.com:TommyJohnWear/spree.git","clone_url":"https://github.com/TommyJohnWear/spree.git","svn_url":"https://github.com/TommyJohnWear/spree","homepage":"http://spreecommerce.com","size":65027,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/TommyJohnWear/spree/pulls/26"},"html":{"href":"https://github.com/TommyJohnWear/spree/pull/26"},"issue":{"href":"https://api.github.com/repos/TommyJohnWear/spree/issues/26"},"comments":{"href":"https://api.github.com/repos/TommyJohnWear/spree/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/TommyJohnWear/spree/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/TommyJohnWear/spree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TommyJohnWear/spree/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/TommyJohnWear/spree/statuses/03ff202de04a836bb973a6a1009f81a6364b82bc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"adammathys","id":876067,"avatar_url":"https://avatars.githubusercontent.com/u/876067?v=3","gravatar_id":"","url":"https://api.github.com/users/adammathys","html_url":"https://github.com/adammathys","followers_url":"https://api.github.com/users/adammathys/followers","following_url":"https://api.github.com/users/adammathys/following{/other_user}","gists_url":"https://api.github.com/users/adammathys/gists{/gist_id}","starred_url":"https://api.github.com/users/adammathys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammathys/subscriptions","organizations_url":"https://api.github.com/users/adammathys/orgs","repos_url":"https://api.github.com/users/adammathys/repos","events_url":"https://api.github.com/users/adammathys/events{/privacy}","received_events_url":"https://api.github.com/users/adammathys/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":5,"deletions":5,"changed_files":3}}