{"action":"created","comment":{"url":"https://api.github.com/repos/ll100-cn/testpoint/pulls/comments/189218301","pull_request_review_id":121355515,"id":189218301,"diff_hunk":"@@ -1,6 +1,6 @@\n <% time = Time.now.to_i %>\n <div>\n-  <%= image_tag @attachment.file.url, size: \"64x64\", class: \"float-left mb-1\" %>\n+  <%= image_tag url_for(@attachment.file), width: \"64x64\", class: \"float-left mb-1\" %>","path":"app/views/attachments/create.xhrml.erb","position":4,"original_position":4,"commit_id":"4adb4a39f5653a21e2afd8ed802f7d1e6571a51d","original_commit_id":"4adb4a39f5653a21e2afd8ed802f7d1e6571a51d","user":{"login":"sunteya","id":139466,"avatar_url":"https://avatars1.githubusercontent.com/u/139466?v=4","gravatar_id":"","url":"https://api.github.com/users/sunteya","html_url":"https://github.com/sunteya","followers_url":"https://api.github.com/users/sunteya/followers","following_url":"https://api.github.com/users/sunteya/following{/other_user}","gists_url":"https://api.github.com/users/sunteya/gists{/gist_id}","starred_url":"https://api.github.com/users/sunteya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunteya/subscriptions","organizations_url":"https://api.github.com/users/sunteya/orgs","repos_url":"https://api.github.com/users/sunteya/repos","events_url":"https://api.github.com/users/sunteya/events{/privacy}","received_events_url":"https://api.github.com/users/sunteya/received_events","type":"User","site_admin":false},"body":"width 为什么不用 size?","created_at":"2018-05-18T09:49:44Z","updated_at":"2018-05-18T09:49:44Z","html_url":"https://github.com/ll100-cn/testpoint/pull/35#discussion_r189218301","pull_request_url":"https://api.github.com/repos/ll100-cn/testpoint/pulls/35","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ll100-cn/testpoint/pulls/comments/189218301"},"html":{"href":"https://github.com/ll100-cn/testpoint/pull/35#discussion_r189218301"},"pull_request":{"href":"https://api.github.com/repos/ll100-cn/testpoint/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/ll100-cn/testpoint/pulls/35","id":188875627,"html_url":"https://github.com/ll100-cn/testpoint/pull/35","diff_url":"https://github.com/ll100-cn/testpoint/pull/35.diff","patch_url":"https://github.com/ll100-cn/testpoint/pull/35.patch","issue_url":"https://api.github.com/repos/ll100-cn/testpoint/issues/35","number":35,"state":"open","locked":false,"title":"Active storage","user":{"login":"Lupeipei","id":18224696,"avatar_url":"https://avatars1.githubusercontent.com/u/18224696?v=4","gravatar_id":"","url":"https://api.github.com/users/Lupeipei","html_url":"https://github.com/Lupeipei","followers_url":"https://api.github.com/users/Lupeipei/followers","following_url":"https://api.github.com/users/Lupeipei/following{/other_user}","gists_url":"https://api.github.com/users/Lupeipei/gists{/gist_id}","starred_url":"https://api.github.com/users/Lupeipei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lupeipei/subscriptions","organizations_url":"https://api.github.com/users/Lupeipei/orgs","repos_url":"https://api.github.com/users/Lupeipei/repos","events_url":"https://api.github.com/users/Lupeipei/events{/privacy}","received_events_url":"https://api.github.com/users/Lupeipei/received_events","type":"User","site_admin":false},"body":"using active storage in rails 5.2 for file upload","created_at":"2018-05-17T22:14:45Z","updated_at":"2018-05-18T09:49:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a965d1e84f009ad035f38e9e882eca64b95db47","assignee":{"login":"sunteya","id":139466,"avatar_url":"https://avatars1.githubusercontent.com/u/139466?v=4","gravatar_id":"","url":"https://api.github.com/users/sunteya","html_url":"https://github.com/sunteya","followers_url":"https://api.github.com/users/sunteya/followers","following_url":"https://api.github.com/users/sunteya/following{/other_user}","gists_url":"https://api.github.com/users/sunteya/gists{/gist_id}","starred_url":"https://api.github.com/users/sunteya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunteya/subscriptions","organizations_url":"https://api.github.com/users/sunteya/orgs","repos_url":"https://api.github.com/users/sunteya/repos","events_url":"https://api.github.com/users/sunteya/events{/privacy}","received_events_url":"https://api.github.com/users/sunteya/received_events","type":"User","site_admin":false},"assignees":[{"login":"sunteya","id":139466,"avatar_url":"https://avatars1.githubusercontent.com/u/139466?v=4","gravatar_id":"","url":"https://api.github.com/users/sunteya","html_url":"https://github.com/sunteya","followers_url":"https://api.github.com/users/sunteya/followers","following_url":"https://api.github.com/users/sunteya/following{/other_user}","gists_url":"https://api.github.com/users/sunteya/gists{/gist_id}","starred_url":"https://api.github.com/users/sunteya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunteya/subscriptions","organizations_url":"https://api.github.com/users/sunteya/orgs","repos_url":"https://api.github.com/users/sunteya/repos","events_url":"https://api.github.com/users/sunteya/events{/privacy}","received_events_url":"https://api.github.com/users/sunteya/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ll100-cn/testpoint/pulls/35/commits","review_comments_url":"https://api.github.com/repos/ll100-cn/testpoint/pulls/35/comments","review_comment_url":"https://api.github.com/repos/ll100-cn/testpoint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ll100-cn/testpoint/issues/35/comments","statuses_url":"https://api.github.com/repos/ll100-cn/testpoint/statuses/4adb4a39f5653a21e2afd8ed802f7d1e6571a51d","head":{"label":"ll100-cn:active_storage","ref":"active_storage","sha":"4adb4a39f5653a21e2afd8ed802f7d1e6571a51d","user":{"login":"ll100-cn","id":11205304,"avatar_url":"https://avatars3.githubusercontent.com/u/11205304?v=4","gravatar_id":"","url":"https://api.github.com/users/ll100-cn","html_url":"https://github.com/ll100-cn","followers_url":"https://api.github.com/users/ll100-cn/followers","following_url":"https://api.github.com/users/ll100-cn/following{/other_user}","gists_url":"https://api.github.com/users/ll100-cn/gists{/gist_id}","starred_url":"https://api.github.com/users/ll100-cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ll100-cn/subscriptions","organizations_url":"https://api.github.com/users/ll100-cn/orgs","repos_url":"https://api.github.com/users/ll100-cn/repos","events_url":"https://api.github.com/users/ll100-cn/events{/privacy}","received_events_url":"https://api.github.com/users/ll100-cn/received_events","type":"Organization","site_admin":false},"repo":{"id":96511504,"name":"testpoint","full_name":"ll100-cn/testpoint","owner":{"login":"ll100-cn","id":11205304,"avatar_url":"https://avatars3.githubusercontent.com/u/11205304?v=4","gravatar_id":"","url":"https://api.github.com/users/ll100-cn","html_url":"https://github.com/ll100-cn","followers_url":"https://api.github.com/users/ll100-cn/followers","following_url":"https://api.github.com/users/ll100-cn/following{/other_user}","gists_url":"https://api.github.com/users/ll100-cn/gists{/gist_id}","starred_url":"https://api.github.com/users/ll100-cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ll100-cn/subscriptions","organizations_url":"https://api.github.com/users/ll100-cn/orgs","repos_url":"https://api.github.com/users/ll100-cn/repos","events_url":"https://api.github.com/users/ll100-cn/events{/privacy}","received_events_url":"https://api.github.com/users/ll100-cn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ll100-cn/testpoint","description":null,"fork":false,"url":"https://api.github.com/repos/ll100-cn/testpoint","forks_url":"https://api.github.com/repos/ll100-cn/testpoint/forks","keys_url":"https://api.github.com/repos/ll100-cn/testpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ll100-cn/testpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ll100-cn/testpoint/teams","hooks_url":"https://api.github.com/repos/ll100-cn/testpoint/hooks","issue_events_url":"https://api.github.com/repos/ll100-cn/testpoint/issues/events{/number}","events_url":"https://api.github.com/repos/ll100-cn/testpoint/events","assignees_url":"https://api.github.com/repos/ll100-cn/testpoint/assignees{/user}","branches_url":"https://api.github.com/repos/ll100-cn/testpoint/branches{/branch}","tags_url":"https://api.github.com/repos/ll100-cn/testpoint/tags","blobs_url":"https://api.github.com/repos/ll100-cn/testpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ll100-cn/testpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ll100-cn/testpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/ll100-cn/testpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ll100-cn/testpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/ll100-cn/testpoint/languages","stargazers_url":"https://api.github.com/repos/ll100-cn/testpoint/stargazers","contributors_url":"https://api.github.com/repos/ll100-cn/testpoint/contributors","subscribers_url":"https://api.github.com/repos/ll100-cn/testpoint/subscribers","subscription_url":"https://api.github.com/repos/ll100-cn/testpoint/subscription","commits_url":"https://api.github.com/repos/ll100-cn/testpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/ll100-cn/testpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/ll100-cn/testpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/ll100-cn/testpoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/ll100-cn/testpoint/contents/{+path}","compare_url":"https://api.github.com/repos/ll100-cn/testpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ll100-cn/testpoint/merges","archive_url":"https://api.github.com/repos/ll100-cn/testpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ll100-cn/testpoint/downloads","issues_url":"https://api.github.com/repos/ll100-cn/testpoint/issues{/number}","pulls_url":"https://api.github.com/repos/ll100-cn/testpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/ll100-cn/testpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/ll100-cn/testpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ll100-cn/testpoint/labels{/name}","releases_url":"https://api.github.com/repos/ll100-cn/testpoint/releases{/id}","deployments_url":"https://api.github.com/repos/ll100-cn/testpoint/deployments","created_at":"2017-07-07T07:25:03Z","updated_at":"2018-05-16T08:01:52Z","pushed_at":"2018-05-18T09:48:01Z","git_url":"git://github.com/ll100-cn/testpoint.git","ssh_url":"git@github.com:ll100-cn/testpoint.git","clone_url":"https://github.com/ll100-cn/testpoint.git","svn_url":"https://github.com/ll100-cn/testpoint","homepage":null,"size":662,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ll100-cn:master","ref":"master","sha":"d2f1f3092640abec2595121024299a45ddc28635","user":{"login":"ll100-cn","id":11205304,"avatar_url":"https://avatars3.githubusercontent.com/u/11205304?v=4","gravatar_id":"","url":"https://api.github.com/users/ll100-cn","html_url":"https://github.com/ll100-cn","followers_url":"https://api.github.com/users/ll100-cn/followers","following_url":"https://api.github.com/users/ll100-cn/following{/other_user}","gists_url":"https://api.github.com/users/ll100-cn/gists{/gist_id}","starred_url":"https://api.github.com/users/ll100-cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ll100-cn/subscriptions","organizations_url":"https://api.github.com/users/ll100-cn/orgs","repos_url":"https://api.github.com/users/ll100-cn/repos","events_url":"https://api.github.com/users/ll100-cn/events{/privacy}","received_events_url":"https://api.github.com/users/ll100-cn/received_events","type":"Organization","site_admin":false},"repo":{"id":96511504,"name":"testpoint","full_name":"ll100-cn/testpoint","owner":{"login":"ll100-cn","id":11205304,"avatar_url":"https://avatars3.githubusercontent.com/u/11205304?v=4","gravatar_id":"","url":"https://api.github.com/users/ll100-cn","html_url":"https://github.com/ll100-cn","followers_url":"https://api.github.com/users/ll100-cn/followers","following_url":"https://api.github.com/users/ll100-cn/following{/other_user}","gists_url":"https://api.github.com/users/ll100-cn/gists{/gist_id}","starred_url":"https://api.github.com/users/ll100-cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ll100-cn/subscriptions","organizations_url":"https://api.github.com/users/ll100-cn/orgs","repos_url":"https://api.github.com/users/ll100-cn/repos","events_url":"https://api.github.com/users/ll100-cn/events{/privacy}","received_events_url":"https://api.github.com/users/ll100-cn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ll100-cn/testpoint","description":null,"fork":false,"url":"https://api.github.com/repos/ll100-cn/testpoint","forks_url":"https://api.github.com/repos/ll100-cn/testpoint/forks","keys_url":"https://api.github.com/repos/ll100-cn/testpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ll100-cn/testpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ll100-cn/testpoint/teams","hooks_url":"https://api.github.com/repos/ll100-cn/testpoint/hooks","issue_events_url":"https://api.github.com/repos/ll100-cn/testpoint/issues/events{/number}","events_url":"https://api.github.com/repos/ll100-cn/testpoint/events","assignees_url":"https://api.github.com/repos/ll100-cn/testpoint/assignees{/user}","branches_url":"https://api.github.com/repos/ll100-cn/testpoint/branches{/branch}","tags_url":"https://api.github.com/repos/ll100-cn/testpoint/tags","blobs_url":"https://api.github.com/repos/ll100-cn/testpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ll100-cn/testpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ll100-cn/testpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/ll100-cn/testpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ll100-cn/testpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/ll100-cn/testpoint/languages","stargazers_url":"https://api.github.com/repos/ll100-cn/testpoint/stargazers","contributors_url":"https://api.github.com/repos/ll100-cn/testpoint/contributors","subscribers_url":"https://api.github.com/repos/ll100-cn/testpoint/subscribers","subscription_url":"https://api.github.com/repos/ll100-cn/testpoint/subscription","commits_url":"https://api.github.com/repos/ll100-cn/testpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/ll100-cn/testpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/ll100-cn/testpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/ll100-cn/testpoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/ll100-cn/testpoint/contents/{+path}","compare_url":"https://api.github.com/repos/ll100-cn/testpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ll100-cn/testpoint/merges","archive_url":"https://api.github.com/repos/ll100-cn/testpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ll100-cn/testpoint/downloads","issues_url":"https://api.github.com/repos/ll100-cn/testpoint/issues{/number}","pulls_url":"https://api.github.com/repos/ll100-cn/testpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/ll100-cn/testpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/ll100-cn/testpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ll100-cn/testpoint/labels{/name}","releases_url":"https://api.github.com/repos/ll100-cn/testpoint/releases{/id}","deployments_url":"https://api.github.com/repos/ll100-cn/testpoint/deployments","created_at":"2017-07-07T07:25:03Z","updated_at":"2018-05-16T08:01:52Z","pushed_at":"2018-05-18T09:48:01Z","git_url":"git://github.com/ll100-cn/testpoint.git","ssh_url":"git@github.com:ll100-cn/testpoint.git","clone_url":"https://github.com/ll100-cn/testpoint.git","svn_url":"https://github.com/ll100-cn/testpoint","homepage":null,"size":662,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ll100-cn/testpoint/pulls/35"},"html":{"href":"https://github.com/ll100-cn/testpoint/pull/35"},"issue":{"href":"https://api.github.com/repos/ll100-cn/testpoint/issues/35"},"comments":{"href":"https://api.github.com/repos/ll100-cn/testpoint/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/ll100-cn/testpoint/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/ll100-cn/testpoint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ll100-cn/testpoint/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/ll100-cn/testpoint/statuses/4adb4a39f5653a21e2afd8ed802f7d1e6571a51d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sunteya"}}