{"action":"created","comment":{"url":"https://api.github.com/repos/campuscode/rentequip/pulls/comments/42936053","id":42936053,"diff_hunk":"@@ -0,0 +1,5 @@\n+<% @equipment_categories.each do |equipment_category| %>\n+  <%= link_to \"##{equipment_category.id} -\n+                #{equipment_category.name} -\n+                #{equipment_category.mark}\", equipment_category %>","path":"app/views/equipment_categories/index.html.erb","position":4,"original_position":4,"commit_id":"ce63f24bd9969eb588502635782b43f7eade3a5e","original_commit_id":"ce63f24bd9969eb588502635782b43f7eade3a5e","user":{"login":"joaorsalmeida","id":441456,"avatar_url":"https://avatars.githubusercontent.com/u/441456?v=3","gravatar_id":"","url":"https://api.github.com/users/joaorsalmeida","html_url":"https://github.com/joaorsalmeida","followers_url":"https://api.github.com/users/joaorsalmeida/followers","following_url":"https://api.github.com/users/joaorsalmeida/following{/other_user}","gists_url":"https://api.github.com/users/joaorsalmeida/gists{/gist_id}","starred_url":"https://api.github.com/users/joaorsalmeida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaorsalmeida/subscriptions","organizations_url":"https://api.github.com/users/joaorsalmeida/orgs","repos_url":"https://api.github.com/users/joaorsalmeida/repos","events_url":"https://api.github.com/users/joaorsalmeida/events{/privacy}","received_events_url":"https://api.github.com/users/joaorsalmeida/received_events","type":"User","site_admin":false},"body":"Esse código me lembra muito o to_s. Porque repetir?","created_at":"2015-10-24T17:22:48Z","updated_at":"2015-10-24T17:22:48Z","html_url":"https://github.com/campuscode/rentequip/pull/21#discussion_r42936053","pull_request_url":"https://api.github.com/repos/campuscode/rentequip/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/campuscode/rentequip/pulls/comments/42936053"},"html":{"href":"https://github.com/campuscode/rentequip/pull/21#discussion_r42936053"},"pull_request":{"href":"https://api.github.com/repos/campuscode/rentequip/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/campuscode/rentequip/pulls/21","id":48400927,"html_url":"https://github.com/campuscode/rentequip/pull/21","diff_url":"https://github.com/campuscode/rentequip/pull/21.diff","patch_url":"https://github.com/campuscode/rentequip/pull/21.patch","issue_url":"https://api.github.com/repos/campuscode/rentequip/issues/21","number":21,"state":"open","locked":false,"title":"Feature: User Create Equipment Category","user":{"login":"dougasilva","id":13542562,"avatar_url":"https://avatars.githubusercontent.com/u/13542562?v=3","gravatar_id":"","url":"https://api.github.com/users/dougasilva","html_url":"https://github.com/dougasilva","followers_url":"https://api.github.com/users/dougasilva/followers","following_url":"https://api.github.com/users/dougasilva/following{/other_user}","gists_url":"https://api.github.com/users/dougasilva/gists{/gist_id}","starred_url":"https://api.github.com/users/dougasilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougasilva/subscriptions","organizations_url":"https://api.github.com/users/dougasilva/orgs","repos_url":"https://api.github.com/users/dougasilva/repos","events_url":"https://api.github.com/users/dougasilva/events{/privacy}","received_events_url":"https://api.github.com/users/dougasilva/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-21T23:22:40Z","updated_at":"2015-10-24T17:22:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f80e23553e6561b02b93f6237b4096d4e29fd32a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/campuscode/rentequip/pulls/21/commits","review_comments_url":"https://api.github.com/repos/campuscode/rentequip/pulls/21/comments","review_comment_url":"https://api.github.com/repos/campuscode/rentequip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/campuscode/rentequip/issues/21/comments","statuses_url":"https://api.github.com/repos/campuscode/rentequip/statuses/ce63f24bd9969eb588502635782b43f7eade3a5e","head":{"label":"campuscode:user_create_equipment_category","ref":"user_create_equipment_category","sha":"ce63f24bd9969eb588502635782b43f7eade3a5e","user":{"login":"campuscode","id":10028214,"avatar_url":"https://avatars.githubusercontent.com/u/10028214?v=3","gravatar_id":"","url":"https://api.github.com/users/campuscode","html_url":"https://github.com/campuscode","followers_url":"https://api.github.com/users/campuscode/followers","following_url":"https://api.github.com/users/campuscode/following{/other_user}","gists_url":"https://api.github.com/users/campuscode/gists{/gist_id}","starred_url":"https://api.github.com/users/campuscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campuscode/subscriptions","organizations_url":"https://api.github.com/users/campuscode/orgs","repos_url":"https://api.github.com/users/campuscode/repos","events_url":"https://api.github.com/users/campuscode/events{/privacy}","received_events_url":"https://api.github.com/users/campuscode/received_events","type":"Organization","site_admin":false},"repo":{"id":43720968,"name":"rentequip","full_name":"campuscode/rentequip","owner":{"login":"campuscode","id":10028214,"avatar_url":"https://avatars.githubusercontent.com/u/10028214?v=3","gravatar_id":"","url":"https://api.github.com/users/campuscode","html_url":"https://github.com/campuscode","followers_url":"https://api.github.com/users/campuscode/followers","following_url":"https://api.github.com/users/campuscode/following{/other_user}","gists_url":"https://api.github.com/users/campuscode/gists{/gist_id}","starred_url":"https://api.github.com/users/campuscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campuscode/subscriptions","organizations_url":"https://api.github.com/users/campuscode/orgs","repos_url":"https://api.github.com/users/campuscode/repos","events_url":"https://api.github.com/users/campuscode/events{/privacy}","received_events_url":"https://api.github.com/users/campuscode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/campuscode/rentequip","description":"","fork":false,"url":"https://api.github.com/repos/campuscode/rentequip","forks_url":"https://api.github.com/repos/campuscode/rentequip/forks","keys_url":"https://api.github.com/repos/campuscode/rentequip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/campuscode/rentequip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/campuscode/rentequip/teams","hooks_url":"https://api.github.com/repos/campuscode/rentequip/hooks","issue_events_url":"https://api.github.com/repos/campuscode/rentequip/issues/events{/number}","events_url":"https://api.github.com/repos/campuscode/rentequip/events","assignees_url":"https://api.github.com/repos/campuscode/rentequip/assignees{/user}","branches_url":"https://api.github.com/repos/campuscode/rentequip/branches{/branch}","tags_url":"https://api.github.com/repos/campuscode/rentequip/tags","blobs_url":"https://api.github.com/repos/campuscode/rentequip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/campuscode/rentequip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/campuscode/rentequip/git/refs{/sha}","trees_url":"https://api.github.com/repos/campuscode/rentequip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/campuscode/rentequip/statuses/{sha}","languages_url":"https://api.github.com/repos/campuscode/rentequip/languages","stargazers_url":"https://api.github.com/repos/campuscode/rentequip/stargazers","contributors_url":"https://api.github.com/repos/campuscode/rentequip/contributors","subscribers_url":"https://api.github.com/repos/campuscode/rentequip/subscribers","subscription_url":"https://api.github.com/repos/campuscode/rentequip/subscription","commits_url":"https://api.github.com/repos/campuscode/rentequip/commits{/sha}","git_commits_url":"https://api.github.com/repos/campuscode/rentequip/git/commits{/sha}","comments_url":"https://api.github.com/repos/campuscode/rentequip/comments{/number}","issue_comment_url":"https://api.github.com/repos/campuscode/rentequip/issues/comments{/number}","contents_url":"https://api.github.com/repos/campuscode/rentequip/contents/{+path}","compare_url":"https://api.github.com/repos/campuscode/rentequip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/campuscode/rentequip/merges","archive_url":"https://api.github.com/repos/campuscode/rentequip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/campuscode/rentequip/downloads","issues_url":"https://api.github.com/repos/campuscode/rentequip/issues{/number}","pulls_url":"https://api.github.com/repos/campuscode/rentequip/pulls{/number}","milestones_url":"https://api.github.com/repos/campuscode/rentequip/milestones{/number}","notifications_url":"https://api.github.com/repos/campuscode/rentequip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/campuscode/rentequip/labels{/name}","releases_url":"https://api.github.com/repos/campuscode/rentequip/releases{/id}","created_at":"2015-10-06T00:04:37Z","updated_at":"2015-10-06T00:05:31Z","pushed_at":"2015-10-24T16:05:38Z","git_url":"git://github.com/campuscode/rentequip.git","ssh_url":"git@github.com:campuscode/rentequip.git","clone_url":"https://github.com/campuscode/rentequip.git","svn_url":"https://github.com/campuscode/rentequip","homepage":null,"size":568,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"campuscode:master","ref":"master","sha":"c674decab7bc321f76e260566e544c3c84500081","user":{"login":"campuscode","id":10028214,"avatar_url":"https://avatars.githubusercontent.com/u/10028214?v=3","gravatar_id":"","url":"https://api.github.com/users/campuscode","html_url":"https://github.com/campuscode","followers_url":"https://api.github.com/users/campuscode/followers","following_url":"https://api.github.com/users/campuscode/following{/other_user}","gists_url":"https://api.github.com/users/campuscode/gists{/gist_id}","starred_url":"https://api.github.com/users/campuscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campuscode/subscriptions","organizations_url":"https://api.github.com/users/campuscode/orgs","repos_url":"https://api.github.com/users/campuscode/repos","events_url":"https://api.github.com/users/campuscode/events{/privacy}","received_events_url":"https://api.github.com/users/campuscode/received_events","type":"Organization","site_admin":false},"repo":{"id":43720968,"name":"rentequip","full_name":"campuscode/rentequip","owner":{"login":"campuscode","id":10028214,"avatar_url":"https://avatars.githubusercontent.com/u/10028214?v=3","gravatar_id":"","url":"https://api.github.com/users/campuscode","html_url":"https://github.com/campuscode","followers_url":"https://api.github.com/users/campuscode/followers","following_url":"https://api.github.com/users/campuscode/following{/other_user}","gists_url":"https://api.github.com/users/campuscode/gists{/gist_id}","starred_url":"https://api.github.com/users/campuscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campuscode/subscriptions","organizations_url":"https://api.github.com/users/campuscode/orgs","repos_url":"https://api.github.com/users/campuscode/repos","events_url":"https://api.github.com/users/campuscode/events{/privacy}","received_events_url":"https://api.github.com/users/campuscode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/campuscode/rentequip","description":"","fork":false,"url":"https://api.github.com/repos/campuscode/rentequip","forks_url":"https://api.github.com/repos/campuscode/rentequip/forks","keys_url":"https://api.github.com/repos/campuscode/rentequip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/campuscode/rentequip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/campuscode/rentequip/teams","hooks_url":"https://api.github.com/repos/campuscode/rentequip/hooks","issue_events_url":"https://api.github.com/repos/campuscode/rentequip/issues/events{/number}","events_url":"https://api.github.com/repos/campuscode/rentequip/events","assignees_url":"https://api.github.com/repos/campuscode/rentequip/assignees{/user}","branches_url":"https://api.github.com/repos/campuscode/rentequip/branches{/branch}","tags_url":"https://api.github.com/repos/campuscode/rentequip/tags","blobs_url":"https://api.github.com/repos/campuscode/rentequip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/campuscode/rentequip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/campuscode/rentequip/git/refs{/sha}","trees_url":"https://api.github.com/repos/campuscode/rentequip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/campuscode/rentequip/statuses/{sha}","languages_url":"https://api.github.com/repos/campuscode/rentequip/languages","stargazers_url":"https://api.github.com/repos/campuscode/rentequip/stargazers","contributors_url":"https://api.github.com/repos/campuscode/rentequip/contributors","subscribers_url":"https://api.github.com/repos/campuscode/rentequip/subscribers","subscription_url":"https://api.github.com/repos/campuscode/rentequip/subscription","commits_url":"https://api.github.com/repos/campuscode/rentequip/commits{/sha}","git_commits_url":"https://api.github.com/repos/campuscode/rentequip/git/commits{/sha}","comments_url":"https://api.github.com/repos/campuscode/rentequip/comments{/number}","issue_comment_url":"https://api.github.com/repos/campuscode/rentequip/issues/comments{/number}","contents_url":"https://api.github.com/repos/campuscode/rentequip/contents/{+path}","compare_url":"https://api.github.com/repos/campuscode/rentequip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/campuscode/rentequip/merges","archive_url":"https://api.github.com/repos/campuscode/rentequip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/campuscode/rentequip/downloads","issues_url":"https://api.github.com/repos/campuscode/rentequip/issues{/number}","pulls_url":"https://api.github.com/repos/campuscode/rentequip/pulls{/number}","milestones_url":"https://api.github.com/repos/campuscode/rentequip/milestones{/number}","notifications_url":"https://api.github.com/repos/campuscode/rentequip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/campuscode/rentequip/labels{/name}","releases_url":"https://api.github.com/repos/campuscode/rentequip/releases{/id}","created_at":"2015-10-06T00:04:37Z","updated_at":"2015-10-06T00:05:31Z","pushed_at":"2015-10-24T16:05:38Z","git_url":"git://github.com/campuscode/rentequip.git","ssh_url":"git@github.com:campuscode/rentequip.git","clone_url":"https://github.com/campuscode/rentequip.git","svn_url":"https://github.com/campuscode/rentequip","homepage":null,"size":568,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/campuscode/rentequip/pulls/21"},"html":{"href":"https://github.com/campuscode/rentequip/pull/21"},"issue":{"href":"https://api.github.com/repos/campuscode/rentequip/issues/21"},"comments":{"href":"https://api.github.com/repos/campuscode/rentequip/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/campuscode/rentequip/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/campuscode/rentequip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/campuscode/rentequip/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/campuscode/rentequip/statuses/ce63f24bd9969eb588502635782b43f7eade3a5e"}}}}