{"action":"created","comment":{"url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/comments/42548477","id":42548477,"diff_hunk":"@@ -43,6 +57,14 @@ class Foo < ActiveFedora::Base\n       it \"should not be mutable\" do\n         expect { subject.title = 'Foo' }.to raise_error ActiveFedora::ReadOnlyRecord\n       end\n+\n+      it \"loads the correct number of nested attributes\", focus: true do\n+        expect(subject.date_ids.count).to eq 2\n+      end\n+\n+      it \"loads the correct number of regular attributes\", focus: true do","path":"spec/integration/solr_instance_loader_spec.rb","position":42,"original_position":42,"commit_id":"d2cf02e1f63353800922c6c90a65febd5abd13e7","original_commit_id":"d2cf02e1f63353800922c6c90a65febd5abd13e7","user":{"login":"jcoyne","id":92044,"avatar_url":"https://avatars.githubusercontent.com/u/92044?v=3","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"body":"why `focus`?","created_at":"2015-10-20T20:23:51Z","updated_at":"2015-10-20T20:23:51Z","html_url":"https://github.com/projecthydra/active_fedora/pull/918#discussion_r42548477","pull_request_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/918","_links":{"self":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/comments/42548477"},"html":{"href":"https://github.com/projecthydra/active_fedora/pull/918#discussion_r42548477"},"pull_request":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/918"}}},"pull_request":{"url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/918","id":48247941,"html_url":"https://github.com/projecthydra/active_fedora/pull/918","diff_url":"https://github.com/projecthydra/active_fedora/pull/918.diff","patch_url":"https://github.com/projecthydra/active_fedora/pull/918.patch","issue_url":"https://api.github.com/repos/projecthydra/active_fedora/issues/918","number":918,"state":"open","locked":false,"title":"Append val to solr array instead of replacing when appropriate.","user":{"login":"hackmastera","id":845363,"avatar_url":"https://avatars.githubusercontent.com/u/845363?v=3","gravatar_id":"","url":"https://api.github.com/users/hackmastera","html_url":"https://github.com/hackmastera","followers_url":"https://api.github.com/users/hackmastera/followers","following_url":"https://api.github.com/users/hackmastera/following{/other_user}","gists_url":"https://api.github.com/users/hackmastera/gists{/gist_id}","starred_url":"https://api.github.com/users/hackmastera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackmastera/subscriptions","organizations_url":"https://api.github.com/users/hackmastera/orgs","repos_url":"https://api.github.com/users/hackmastera/repos","events_url":"https://api.github.com/users/hackmastera/events{/privacy}","received_events_url":"https://api.github.com/users/hackmastera/received_events","type":"User","site_admin":false},"body":"Fixes projecthydra/active_fedora#870.","created_at":"2015-10-20T19:43:05Z","updated_at":"2015-10-20T20:23:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"164f8657efbf63c4f2beaaf270fa3a6616c2c1f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/918/commits","review_comments_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/918/comments","review_comment_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra/active_fedora/issues/918/comments","statuses_url":"https://api.github.com/repos/projecthydra/active_fedora/statuses/d2cf02e1f63353800922c6c90a65febd5abd13e7","head":{"label":"chemheritage:solr-load-bug","ref":"solr-load-bug","sha":"d2cf02e1f63353800922c6c90a65febd5abd13e7","user":{"login":"chemheritage","id":11823224,"avatar_url":"https://avatars.githubusercontent.com/u/11823224?v=3","gravatar_id":"","url":"https://api.github.com/users/chemheritage","html_url":"https://github.com/chemheritage","followers_url":"https://api.github.com/users/chemheritage/followers","following_url":"https://api.github.com/users/chemheritage/following{/other_user}","gists_url":"https://api.github.com/users/chemheritage/gists{/gist_id}","starred_url":"https://api.github.com/users/chemheritage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemheritage/subscriptions","organizations_url":"https://api.github.com/users/chemheritage/orgs","repos_url":"https://api.github.com/users/chemheritage/repos","events_url":"https://api.github.com/users/chemheritage/events{/privacy}","received_events_url":"https://api.github.com/users/chemheritage/received_events","type":"Organization","site_admin":false},"repo":{"id":40127487,"name":"active_fedora","full_name":"chemheritage/active_fedora","owner":{"login":"chemheritage","id":11823224,"avatar_url":"https://avatars.githubusercontent.com/u/11823224?v=3","gravatar_id":"","url":"https://api.github.com/users/chemheritage","html_url":"https://github.com/chemheritage","followers_url":"https://api.github.com/users/chemheritage/followers","following_url":"https://api.github.com/users/chemheritage/following{/other_user}","gists_url":"https://api.github.com/users/chemheritage/gists{/gist_id}","starred_url":"https://api.github.com/users/chemheritage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemheritage/subscriptions","organizations_url":"https://api.github.com/users/chemheritage/orgs","repos_url":"https://api.github.com/users/chemheritage/repos","events_url":"https://api.github.com/users/chemheritage/events{/privacy}","received_events_url":"https://api.github.com/users/chemheritage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chemheritage/active_fedora","description":"A Rails interface to the Fedora repository, akin to Active Model","fork":true,"url":"https://api.github.com/repos/chemheritage/active_fedora","forks_url":"https://api.github.com/repos/chemheritage/active_fedora/forks","keys_url":"https://api.github.com/repos/chemheritage/active_fedora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chemheritage/active_fedora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chemheritage/active_fedora/teams","hooks_url":"https://api.github.com/repos/chemheritage/active_fedora/hooks","issue_events_url":"https://api.github.com/repos/chemheritage/active_fedora/issues/events{/number}","events_url":"https://api.github.com/repos/chemheritage/active_fedora/events","assignees_url":"https://api.github.com/repos/chemheritage/active_fedora/assignees{/user}","branches_url":"https://api.github.com/repos/chemheritage/active_fedora/branches{/branch}","tags_url":"https://api.github.com/repos/chemheritage/active_fedora/tags","blobs_url":"https://api.github.com/repos/chemheritage/active_fedora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chemheritage/active_fedora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chemheritage/active_fedora/git/refs{/sha}","trees_url":"https://api.github.com/repos/chemheritage/active_fedora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chemheritage/active_fedora/statuses/{sha}","languages_url":"https://api.github.com/repos/chemheritage/active_fedora/languages","stargazers_url":"https://api.github.com/repos/chemheritage/active_fedora/stargazers","contributors_url":"https://api.github.com/repos/chemheritage/active_fedora/contributors","subscribers_url":"https://api.github.com/repos/chemheritage/active_fedora/subscribers","subscription_url":"https://api.github.com/repos/chemheritage/active_fedora/subscription","commits_url":"https://api.github.com/repos/chemheritage/active_fedora/commits{/sha}","git_commits_url":"https://api.github.com/repos/chemheritage/active_fedora/git/commits{/sha}","comments_url":"https://api.github.com/repos/chemheritage/active_fedora/comments{/number}","issue_comment_url":"https://api.github.com/repos/chemheritage/active_fedora/issues/comments{/number}","contents_url":"https://api.github.com/repos/chemheritage/active_fedora/contents/{+path}","compare_url":"https://api.github.com/repos/chemheritage/active_fedora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chemheritage/active_fedora/merges","archive_url":"https://api.github.com/repos/chemheritage/active_fedora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chemheritage/active_fedora/downloads","issues_url":"https://api.github.com/repos/chemheritage/active_fedora/issues{/number}","pulls_url":"https://api.github.com/repos/chemheritage/active_fedora/pulls{/number}","milestones_url":"https://api.github.com/repos/chemheritage/active_fedora/milestones{/number}","notifications_url":"https://api.github.com/repos/chemheritage/active_fedora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chemheritage/active_fedora/labels{/name}","releases_url":"https://api.github.com/repos/chemheritage/active_fedora/releases{/id}","created_at":"2015-08-03T13:54:16Z","updated_at":"2015-08-03T13:54:17Z","pushed_at":"2015-10-20T20:12:09Z","git_url":"git://github.com/chemheritage/active_fedora.git","ssh_url":"git@github.com:chemheritage/active_fedora.git","clone_url":"https://github.com/chemheritage/active_fedora.git","svn_url":"https://github.com/chemheritage/active_fedora","homepage":"","size":7732,"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":"projecthydra:master","ref":"master","sha":"e53181a4830269d92c77b053f98d3c3cd7a35cfe","user":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"repo":{"id":3867127,"name":"active_fedora","full_name":"projecthydra/active_fedora","owner":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra/active_fedora","description":"A Rails interface to the Fedora repository, akin to Active Model","fork":false,"url":"https://api.github.com/repos/projecthydra/active_fedora","forks_url":"https://api.github.com/repos/projecthydra/active_fedora/forks","keys_url":"https://api.github.com/repos/projecthydra/active_fedora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra/active_fedora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra/active_fedora/teams","hooks_url":"https://api.github.com/repos/projecthydra/active_fedora/hooks","issue_events_url":"https://api.github.com/repos/projecthydra/active_fedora/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra/active_fedora/events","assignees_url":"https://api.github.com/repos/projecthydra/active_fedora/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra/active_fedora/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra/active_fedora/tags","blobs_url":"https://api.github.com/repos/projecthydra/active_fedora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra/active_fedora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra/active_fedora/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra/active_fedora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra/active_fedora/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra/active_fedora/languages","stargazers_url":"https://api.github.com/repos/projecthydra/active_fedora/stargazers","contributors_url":"https://api.github.com/repos/projecthydra/active_fedora/contributors","subscribers_url":"https://api.github.com/repos/projecthydra/active_fedora/subscribers","subscription_url":"https://api.github.com/repos/projecthydra/active_fedora/subscription","commits_url":"https://api.github.com/repos/projecthydra/active_fedora/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra/active_fedora/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra/active_fedora/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra/active_fedora/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra/active_fedora/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra/active_fedora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra/active_fedora/merges","archive_url":"https://api.github.com/repos/projecthydra/active_fedora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra/active_fedora/downloads","issues_url":"https://api.github.com/repos/projecthydra/active_fedora/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra/active_fedora/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra/active_fedora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra/active_fedora/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra/active_fedora/releases{/id}","created_at":"2012-03-29T15:01:13Z","updated_at":"2015-10-07T14:21:41Z","pushed_at":"2015-10-20T20:12:09Z","git_url":"git://github.com/projecthydra/active_fedora.git","ssh_url":"git@github.com:projecthydra/active_fedora.git","clone_url":"https://github.com/projecthydra/active_fedora.git","svn_url":"https://github.com/projecthydra/active_fedora","homepage":"","size":15009,"stargazers_count":34,"watchers_count":34,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":87,"forks":50,"open_issues":87,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/918"},"html":{"href":"https://github.com/projecthydra/active_fedora/pull/918"},"issue":{"href":"https://api.github.com/repos/projecthydra/active_fedora/issues/918"},"comments":{"href":"https://api.github.com/repos/projecthydra/active_fedora/issues/918/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/918/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/918/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra/active_fedora/statuses/d2cf02e1f63353800922c6c90a65febd5abd13e7"}}}}