{"action":"created","comment":{"url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/comments/29529247","id":29529247,"diff_hunk":"@@ -0,0 +1,28 @@\n+%h1 Users\n+\n+%table.table-striped.table-bordered\n+  %tr\n+    %th Fullname\n+    %th Actions\n+  - @users.each do |user|\n+    %tr\n+      %td= user.fullname\n+      %td\n+        = link_to 'Trim', trim_user_path(user), :id => \"#{user.id}\", :class => 'trim', :data => {:url => '/trim'}","path":"app/views/users/show.html.haml","position":11,"original_position":11,"commit_id":"66c558fc1057cac2baaafd4da29d97e5a23677e6","original_commit_id":"66c558fc1057cac2baaafd4da29d97e5a23677e6","user":{"login":"bramski","id":421781,"avatar_url":"https://avatars.githubusercontent.com/u/421781?v=3","gravatar_id":"","url":"https://api.github.com/users/bramski","html_url":"https://github.com/bramski","followers_url":"https://api.github.com/users/bramski/followers","following_url":"https://api.github.com/users/bramski/following{/other_user}","gists_url":"https://api.github.com/users/bramski/gists{/gist_id}","starred_url":"https://api.github.com/users/bramski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramski/subscriptions","organizations_url":"https://api.github.com/users/bramski/orgs","repos_url":"https://api.github.com/users/bramski/repos","events_url":"https://api.github.com/users/bramski/events{/privacy}","received_events_url":"https://api.github.com/users/bramski/received_events","type":"User","site_admin":false},"body":"I kinda hate that ajaxify thing because it adds hidden magic without any\ncode or markup.  It would be extremely easy to end up ajaxifying things\nunintendedly.  Suggest you use a helper or something else.  About to be out\nof data range for a week here, best of luck!\nOn May 1, 2015 12:37 PM, \"Rebecca Holzschuh\" <notifications@github.com>\nwrote:\n\n> In app/views/users/show.html.haml\n> <https://github.com/payrollhero/bearded-shame/pull/11#discussion_r29527616>\n> :\n>\n> > @@ -0,0 +1,28 @@\n> > +%h1 Users\n> > +\n> > +%table.table-striped.table-bordered\n> > +  %tr\n> > +    %th Fullname\n> > +    %th Actions\n> > +  - @users.each do |user|\n> > +    %tr\n> > +      %td= user.fullname\n> > +      %td\n> > +        = link_to 'Trim', trim_user_path(user), :id => \"#{user.id}\", :class => 'trim', :data => {:url => '/trim'}\n>\n> Hi Bram,\n>\n> Does this still need the method: :put parameter since I'm using ajax and\n> preventing the default anyway?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/payrollhero/bearded-shame/pull/11/files#r29527616>.\n>\n","created_at":"2015-05-01T20:01:14Z","updated_at":"2015-05-01T20:01:14Z","html_url":"https://github.com/payrollhero/bearded-shame/pull/11#discussion_r29529247","pull_request_url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/comments/29529247"},"html":{"href":"https://github.com/payrollhero/bearded-shame/pull/11#discussion_r29529247"},"pull_request":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/11","id":34493084,"html_url":"https://github.com/payrollhero/bearded-shame/pull/11","diff_url":"https://github.com/payrollhero/bearded-shame/pull/11.diff","patch_url":"https://github.com/payrollhero/bearded-shame/pull/11.patch","issue_url":"https://api.github.com/repos/payrollhero/bearded-shame/issues/11","number":11,"state":"open","locked":false,"title":"Rebecca Holzschuh","user":{"login":"rebeccacaroline","id":8284943,"avatar_url":"https://avatars.githubusercontent.com/u/8284943?v=3","gravatar_id":"","url":"https://api.github.com/users/rebeccacaroline","html_url":"https://github.com/rebeccacaroline","followers_url":"https://api.github.com/users/rebeccacaroline/followers","following_url":"https://api.github.com/users/rebeccacaroline/following{/other_user}","gists_url":"https://api.github.com/users/rebeccacaroline/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccacaroline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccacaroline/subscriptions","organizations_url":"https://api.github.com/users/rebeccacaroline/orgs","repos_url":"https://api.github.com/users/rebeccacaroline/repos","events_url":"https://api.github.com/users/rebeccacaroline/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccacaroline/received_events","type":"User","site_admin":false},"body":"I added controller and feature tests, and a way for users to go from shaved to not shaved, trimmed to not trimmed, and massaged and trimmed to neither massaged nor trimmed.","created_at":"2015-04-30T19:33:23Z","updated_at":"2015-05-01T20:01:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"528315f112bfb879154c9d8df018a59e76a891e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/11/commits","review_comments_url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/11/comments","review_comment_url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/comments{/number}","comments_url":"https://api.github.com/repos/payrollhero/bearded-shame/issues/11/comments","statuses_url":"https://api.github.com/repos/payrollhero/bearded-shame/statuses/66c558fc1057cac2baaafd4da29d97e5a23677e6","head":{"label":"rebeccacaroline:master","ref":"master","sha":"66c558fc1057cac2baaafd4da29d97e5a23677e6","user":{"login":"rebeccacaroline","id":8284943,"avatar_url":"https://avatars.githubusercontent.com/u/8284943?v=3","gravatar_id":"","url":"https://api.github.com/users/rebeccacaroline","html_url":"https://github.com/rebeccacaroline","followers_url":"https://api.github.com/users/rebeccacaroline/followers","following_url":"https://api.github.com/users/rebeccacaroline/following{/other_user}","gists_url":"https://api.github.com/users/rebeccacaroline/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccacaroline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccacaroline/subscriptions","organizations_url":"https://api.github.com/users/rebeccacaroline/orgs","repos_url":"https://api.github.com/users/rebeccacaroline/repos","events_url":"https://api.github.com/users/rebeccacaroline/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccacaroline/received_events","type":"User","site_admin":false},"repo":{"id":34691850,"name":"bearded-shame","full_name":"rebeccacaroline/bearded-shame","owner":{"login":"rebeccacaroline","id":8284943,"avatar_url":"https://avatars.githubusercontent.com/u/8284943?v=3","gravatar_id":"","url":"https://api.github.com/users/rebeccacaroline","html_url":"https://github.com/rebeccacaroline","followers_url":"https://api.github.com/users/rebeccacaroline/followers","following_url":"https://api.github.com/users/rebeccacaroline/following{/other_user}","gists_url":"https://api.github.com/users/rebeccacaroline/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccacaroline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccacaroline/subscriptions","organizations_url":"https://api.github.com/users/rebeccacaroline/orgs","repos_url":"https://api.github.com/users/rebeccacaroline/repos","events_url":"https://api.github.com/users/rebeccacaroline/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccacaroline/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rebeccacaroline/bearded-shame","description":"Ignore the title. Github suggested it.","fork":true,"url":"https://api.github.com/repos/rebeccacaroline/bearded-shame","forks_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/forks","keys_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/teams","hooks_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/hooks","issue_events_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/issues/events{/number}","events_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/events","assignees_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/assignees{/user}","branches_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/branches{/branch}","tags_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/tags","blobs_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/git/refs{/sha}","trees_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/statuses/{sha}","languages_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/languages","stargazers_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/stargazers","contributors_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/contributors","subscribers_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/subscribers","subscription_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/subscription","commits_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/commits{/sha}","git_commits_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/git/commits{/sha}","comments_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/comments{/number}","issue_comment_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/issues/comments{/number}","contents_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/contents/{+path}","compare_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/merges","archive_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/downloads","issues_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/issues{/number}","pulls_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/pulls{/number}","milestones_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/milestones{/number}","notifications_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/labels{/name}","releases_url":"https://api.github.com/repos/rebeccacaroline/bearded-shame/releases{/id}","created_at":"2015-04-27T21:19:02Z","updated_at":"2015-04-30T19:32:30Z","pushed_at":"2015-04-30T19:32:30Z","git_url":"git://github.com/rebeccacaroline/bearded-shame.git","ssh_url":"git@github.com:rebeccacaroline/bearded-shame.git","clone_url":"https://github.com/rebeccacaroline/bearded-shame.git","svn_url":"https://github.com/rebeccacaroline/bearded-shame","homepage":null,"size":163,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"payrollhero:master","ref":"master","sha":"3d4327d78f614bb4a55ddb20262cbeadf154d1f2","user":{"login":"payrollhero","id":1617662,"avatar_url":"https://avatars.githubusercontent.com/u/1617662?v=3","gravatar_id":"","url":"https://api.github.com/users/payrollhero","html_url":"https://github.com/payrollhero","followers_url":"https://api.github.com/users/payrollhero/followers","following_url":"https://api.github.com/users/payrollhero/following{/other_user}","gists_url":"https://api.github.com/users/payrollhero/gists{/gist_id}","starred_url":"https://api.github.com/users/payrollhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payrollhero/subscriptions","organizations_url":"https://api.github.com/users/payrollhero/orgs","repos_url":"https://api.github.com/users/payrollhero/repos","events_url":"https://api.github.com/users/payrollhero/events{/privacy}","received_events_url":"https://api.github.com/users/payrollhero/received_events","type":"Organization","site_admin":false},"repo":{"id":33117822,"name":"bearded-shame","full_name":"payrollhero/bearded-shame","owner":{"login":"payrollhero","id":1617662,"avatar_url":"https://avatars.githubusercontent.com/u/1617662?v=3","gravatar_id":"","url":"https://api.github.com/users/payrollhero","html_url":"https://github.com/payrollhero","followers_url":"https://api.github.com/users/payrollhero/followers","following_url":"https://api.github.com/users/payrollhero/following{/other_user}","gists_url":"https://api.github.com/users/payrollhero/gists{/gist_id}","starred_url":"https://api.github.com/users/payrollhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payrollhero/subscriptions","organizations_url":"https://api.github.com/users/payrollhero/orgs","repos_url":"https://api.github.com/users/payrollhero/repos","events_url":"https://api.github.com/users/payrollhero/events{/privacy}","received_events_url":"https://api.github.com/users/payrollhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/payrollhero/bearded-shame","description":"Ignore the title. Github suggested it.","fork":false,"url":"https://api.github.com/repos/payrollhero/bearded-shame","forks_url":"https://api.github.com/repos/payrollhero/bearded-shame/forks","keys_url":"https://api.github.com/repos/payrollhero/bearded-shame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/payrollhero/bearded-shame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/payrollhero/bearded-shame/teams","hooks_url":"https://api.github.com/repos/payrollhero/bearded-shame/hooks","issue_events_url":"https://api.github.com/repos/payrollhero/bearded-shame/issues/events{/number}","events_url":"https://api.github.com/repos/payrollhero/bearded-shame/events","assignees_url":"https://api.github.com/repos/payrollhero/bearded-shame/assignees{/user}","branches_url":"https://api.github.com/repos/payrollhero/bearded-shame/branches{/branch}","tags_url":"https://api.github.com/repos/payrollhero/bearded-shame/tags","blobs_url":"https://api.github.com/repos/payrollhero/bearded-shame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/payrollhero/bearded-shame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/payrollhero/bearded-shame/git/refs{/sha}","trees_url":"https://api.github.com/repos/payrollhero/bearded-shame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/payrollhero/bearded-shame/statuses/{sha}","languages_url":"https://api.github.com/repos/payrollhero/bearded-shame/languages","stargazers_url":"https://api.github.com/repos/payrollhero/bearded-shame/stargazers","contributors_url":"https://api.github.com/repos/payrollhero/bearded-shame/contributors","subscribers_url":"https://api.github.com/repos/payrollhero/bearded-shame/subscribers","subscription_url":"https://api.github.com/repos/payrollhero/bearded-shame/subscription","commits_url":"https://api.github.com/repos/payrollhero/bearded-shame/commits{/sha}","git_commits_url":"https://api.github.com/repos/payrollhero/bearded-shame/git/commits{/sha}","comments_url":"https://api.github.com/repos/payrollhero/bearded-shame/comments{/number}","issue_comment_url":"https://api.github.com/repos/payrollhero/bearded-shame/issues/comments{/number}","contents_url":"https://api.github.com/repos/payrollhero/bearded-shame/contents/{+path}","compare_url":"https://api.github.com/repos/payrollhero/bearded-shame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/payrollhero/bearded-shame/merges","archive_url":"https://api.github.com/repos/payrollhero/bearded-shame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/payrollhero/bearded-shame/downloads","issues_url":"https://api.github.com/repos/payrollhero/bearded-shame/issues{/number}","pulls_url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls{/number}","milestones_url":"https://api.github.com/repos/payrollhero/bearded-shame/milestones{/number}","notifications_url":"https://api.github.com/repos/payrollhero/bearded-shame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/payrollhero/bearded-shame/labels{/name}","releases_url":"https://api.github.com/repos/payrollhero/bearded-shame/releases{/id}","created_at":"2015-03-30T10:53:51Z","updated_at":"2015-04-28T20:17:46Z","pushed_at":"2015-05-01T17:08:24Z","git_url":"git://github.com/payrollhero/bearded-shame.git","ssh_url":"git@github.com:payrollhero/bearded-shame.git","clone_url":"https://github.com/payrollhero/bearded-shame.git","svn_url":"https://github.com/payrollhero/bearded-shame","homepage":null,"size":821,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/11"},"html":{"href":"https://github.com/payrollhero/bearded-shame/pull/11"},"issue":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/issues/11"},"comments":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/statuses/66c558fc1057cac2baaafd4da29d97e5a23677e6"}}}}