{"action":"created","comment":{"url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/comments/23201561","id":23201561,"diff_hunk":"@@ -86,7 +85,7 @@ def sort\n     field_ids = params[\"fields_field_group_#{field_group_id}\"] || []\n \n     field_ids.each_with_index do |id, index|\n-      Field.where(id: id).update_all(position: index+1, field_group_id: field_group_id)\n+      Field.where(id: id).update_all(position: index + 1, field_group_id: field_group_id)","path":"app/controllers/admin/fields_controller.rb","position":30,"original_position":30,"commit_id":"612e4b1850f0c85631946f3740a46209bf7cbf47","original_commit_id":"cf6c7b441ea5f8ed069da7dd30054a932fe552ee","user":{"login":"warp","id":10120,"avatar_url":"https://avatars.githubusercontent.com/u/10120?v=3","gravatar_id":"","url":"https://api.github.com/users/warp","html_url":"https://github.com/warp","followers_url":"https://api.github.com/users/warp/followers","following_url":"https://api.github.com/users/warp/following{/other_user}","gists_url":"https://api.github.com/users/warp/gists{/gist_id}","starred_url":"https://api.github.com/users/warp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warp/subscriptions","organizations_url":"https://api.github.com/users/warp/orgs","repos_url":"https://api.github.com/users/warp/repos","events_url":"https://api.github.com/users/warp/events{/privacy}","received_events_url":"https://api.github.com/users/warp/received_events","type":"User","site_admin":false},"body":"also a bug here","created_at":"2015-01-20T03:46:02Z","updated_at":"2015-01-20T03:46:02Z","html_url":"https://github.com/fatfreecrm/fat_free_crm/pull/408#discussion_r23201561","pull_request_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/408","_links":{"self":{"href":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/comments/23201561"},"html":{"href":"https://github.com/fatfreecrm/fat_free_crm/pull/408#discussion_r23201561"},"pull_request":{"href":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/408"}}},"pull_request":{"url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/408","id":27636243,"html_url":"https://github.com/fatfreecrm/fat_free_crm/pull/408","diff_url":"https://github.com/fatfreecrm/fat_free_crm/pull/408.diff","patch_url":"https://github.com/fatfreecrm/fat_free_crm/pull/408.patch","issue_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/issues/408","number":408,"state":"open","locked":false,"title":"runs rubocop autofix","user":{"login":"warp","id":10120,"avatar_url":"https://avatars.githubusercontent.com/u/10120?v=3","gravatar_id":"","url":"https://api.github.com/users/warp","html_url":"https://github.com/warp","followers_url":"https://api.github.com/users/warp/followers","following_url":"https://api.github.com/users/warp/following{/other_user}","gists_url":"https://api.github.com/users/warp/gists{/gist_id}","starred_url":"https://api.github.com/users/warp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warp/subscriptions","organizations_url":"https://api.github.com/users/warp/orgs","repos_url":"https://api.github.com/users/warp/repos","events_url":"https://api.github.com/users/warp/events{/privacy}","received_events_url":"https://api.github.com/users/warp/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-19T21:16:18Z","updated_at":"2015-01-20T03:46:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51f467a079f08744500e381167265b296e9b6e74","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/408/commits","review_comments_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/408/comments","review_comment_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/comments/{number}","comments_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/issues/408/comments","statuses_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/statuses/612e4b1850f0c85631946f3740a46209bf7cbf47","head":{"label":"fatfreecrm:rails4_rubocop_autofix","ref":"rails4_rubocop_autofix","sha":"612e4b1850f0c85631946f3740a46209bf7cbf47","user":{"login":"fatfreecrm","id":58320,"avatar_url":"https://avatars.githubusercontent.com/u/58320?v=3","gravatar_id":"","url":"https://api.github.com/users/fatfreecrm","html_url":"https://github.com/fatfreecrm","followers_url":"https://api.github.com/users/fatfreecrm/followers","following_url":"https://api.github.com/users/fatfreecrm/following{/other_user}","gists_url":"https://api.github.com/users/fatfreecrm/gists{/gist_id}","starred_url":"https://api.github.com/users/fatfreecrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatfreecrm/subscriptions","organizations_url":"https://api.github.com/users/fatfreecrm/orgs","repos_url":"https://api.github.com/users/fatfreecrm/repos","events_url":"https://api.github.com/users/fatfreecrm/events{/privacy}","received_events_url":"https://api.github.com/users/fatfreecrm/received_events","type":"Organization","site_admin":false},"repo":{"id":80571,"name":"fat_free_crm","full_name":"fatfreecrm/fat_free_crm","owner":{"login":"fatfreecrm","id":58320,"avatar_url":"https://avatars.githubusercontent.com/u/58320?v=3","gravatar_id":"","url":"https://api.github.com/users/fatfreecrm","html_url":"https://github.com/fatfreecrm","followers_url":"https://api.github.com/users/fatfreecrm/followers","following_url":"https://api.github.com/users/fatfreecrm/following{/other_user}","gists_url":"https://api.github.com/users/fatfreecrm/gists{/gist_id}","starred_url":"https://api.github.com/users/fatfreecrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatfreecrm/subscriptions","organizations_url":"https://api.github.com/users/fatfreecrm/orgs","repos_url":"https://api.github.com/users/fatfreecrm/repos","events_url":"https://api.github.com/users/fatfreecrm/events{/privacy}","received_events_url":"https://api.github.com/users/fatfreecrm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fatfreecrm/fat_free_crm","description":"Ruby on Rails CRM platform for Web 2.0 and beyond","fork":false,"url":"https://api.github.com/repos/fatfreecrm/fat_free_crm","forks_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/forks","keys_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/teams","hooks_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/hooks","issue_events_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/issues/events{/number}","events_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/events","assignees_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/assignees{/user}","branches_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/branches{/branch}","tags_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/tags","blobs_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/git/refs{/sha}","trees_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/statuses/{sha}","languages_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/languages","stargazers_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/stargazers","contributors_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/contributors","subscribers_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/subscribers","subscription_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/subscription","commits_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/commits{/sha}","git_commits_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/git/commits{/sha}","comments_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/comments{/number}","issue_comment_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/issues/comments/{number}","contents_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/contents/{+path}","compare_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/merges","archive_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/downloads","issues_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/issues{/number}","pulls_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls{/number}","milestones_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/milestones{/number}","notifications_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/labels{/name}","releases_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/releases{/id}","created_at":"2008-11-25T03:09:44Z","updated_at":"2015-01-19T16:46:43Z","pushed_at":"2015-01-19T21:36:48Z","git_url":"git://github.com/fatfreecrm/fat_free_crm.git","ssh_url":"git@github.com:fatfreecrm/fat_free_crm.git","clone_url":"https://github.com/fatfreecrm/fat_free_crm.git","svn_url":"https://github.com/fatfreecrm/fat_free_crm","homepage":"http://www.fatfreecrm.com","size":32546,"stargazers_count":2433,"watchers_count":2433,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":894,"mirror_url":null,"open_issues_count":35,"forks":894,"open_issues":35,"watchers":2433,"default_branch":"master"}},"base":{"label":"fatfreecrm:rails4","ref":"rails4","sha":"bb2798a3aedfb39e71c912e6ce8b11d42ff8aca8","user":{"login":"fatfreecrm","id":58320,"avatar_url":"https://avatars.githubusercontent.com/u/58320?v=3","gravatar_id":"","url":"https://api.github.com/users/fatfreecrm","html_url":"https://github.com/fatfreecrm","followers_url":"https://api.github.com/users/fatfreecrm/followers","following_url":"https://api.github.com/users/fatfreecrm/following{/other_user}","gists_url":"https://api.github.com/users/fatfreecrm/gists{/gist_id}","starred_url":"https://api.github.com/users/fatfreecrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatfreecrm/subscriptions","organizations_url":"https://api.github.com/users/fatfreecrm/orgs","repos_url":"https://api.github.com/users/fatfreecrm/repos","events_url":"https://api.github.com/users/fatfreecrm/events{/privacy}","received_events_url":"https://api.github.com/users/fatfreecrm/received_events","type":"Organization","site_admin":false},"repo":{"id":80571,"name":"fat_free_crm","full_name":"fatfreecrm/fat_free_crm","owner":{"login":"fatfreecrm","id":58320,"avatar_url":"https://avatars.githubusercontent.com/u/58320?v=3","gravatar_id":"","url":"https://api.github.com/users/fatfreecrm","html_url":"https://github.com/fatfreecrm","followers_url":"https://api.github.com/users/fatfreecrm/followers","following_url":"https://api.github.com/users/fatfreecrm/following{/other_user}","gists_url":"https://api.github.com/users/fatfreecrm/gists{/gist_id}","starred_url":"https://api.github.com/users/fatfreecrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatfreecrm/subscriptions","organizations_url":"https://api.github.com/users/fatfreecrm/orgs","repos_url":"https://api.github.com/users/fatfreecrm/repos","events_url":"https://api.github.com/users/fatfreecrm/events{/privacy}","received_events_url":"https://api.github.com/users/fatfreecrm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fatfreecrm/fat_free_crm","description":"Ruby on Rails CRM platform for Web 2.0 and beyond","fork":false,"url":"https://api.github.com/repos/fatfreecrm/fat_free_crm","forks_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/forks","keys_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/teams","hooks_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/hooks","issue_events_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/issues/events{/number}","events_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/events","assignees_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/assignees{/user}","branches_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/branches{/branch}","tags_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/tags","blobs_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/git/refs{/sha}","trees_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/statuses/{sha}","languages_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/languages","stargazers_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/stargazers","contributors_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/contributors","subscribers_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/subscribers","subscription_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/subscription","commits_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/commits{/sha}","git_commits_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/git/commits{/sha}","comments_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/comments{/number}","issue_comment_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/issues/comments/{number}","contents_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/contents/{+path}","compare_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/merges","archive_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/downloads","issues_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/issues{/number}","pulls_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls{/number}","milestones_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/milestones{/number}","notifications_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/labels{/name}","releases_url":"https://api.github.com/repos/fatfreecrm/fat_free_crm/releases{/id}","created_at":"2008-11-25T03:09:44Z","updated_at":"2015-01-19T16:46:43Z","pushed_at":"2015-01-19T21:36:48Z","git_url":"git://github.com/fatfreecrm/fat_free_crm.git","ssh_url":"git@github.com:fatfreecrm/fat_free_crm.git","clone_url":"https://github.com/fatfreecrm/fat_free_crm.git","svn_url":"https://github.com/fatfreecrm/fat_free_crm","homepage":"http://www.fatfreecrm.com","size":32546,"stargazers_count":2433,"watchers_count":2433,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":894,"mirror_url":null,"open_issues_count":35,"forks":894,"open_issues":35,"watchers":2433,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/408"},"html":{"href":"https://github.com/fatfreecrm/fat_free_crm/pull/408"},"issue":{"href":"https://api.github.com/repos/fatfreecrm/fat_free_crm/issues/408"},"comments":{"href":"https://api.github.com/repos/fatfreecrm/fat_free_crm/issues/408/comments"},"review_comments":{"href":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/408/comments"},"review_comment":{"href":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/fatfreecrm/fat_free_crm/pulls/408/commits"},"statuses":{"href":"https://api.github.com/repos/fatfreecrm/fat_free_crm/statuses/612e4b1850f0c85631946f3740a46209bf7cbf47"}}}}