{"action":"created","comment":{"url":"https://api.github.com/repos/rafuellos/placeme/pulls/comments/37386621","id":37386621,"diff_hunk":"@@ -0,0 +1,40 @@\n+<h2><%= current_user.name %>!</h2>\n+\n+<p>\n+<strong>Email:</strong> <%= current_user.email %>\n+<%= link_to 'Places', user_places_path(current_user.id) %>\n+<%= link_to 'Create Place', new_user_place_path(current_user.id) %>\n+</p>\n+\n+\n+<p id=\"notice\"><%= notice %></p>\n+\n+<h1>Listing Places</h1>\n+\n+<table>\n+  <thead>\n+    <tr>\n+      <th>Place id</th>\n+      <th>Comment</th>\n+      <th>Owner_id</th>\n+      <th colspan=\"3\"></th>\n+    </tr>\n+  </thead>\n+\n+  <tbody>\n+  <% @places.each do |place| %>\n+      <tr>\n+        <td><%= place.id %></td>\n+        <td><%= place.comments %></td>\n+        <td><%= place.owner_id %></td>\n+\n+        <td><%= link_to '<i class=\"fa fa-caret-left fa-2x\"></i>'.html_safe, profile_path%><td>","path":"app/views/places/index.html.erb","position":31,"original_position":31,"commit_id":"f80a0c7dd55340d5af43c083c646e26c88a4dae0","original_commit_id":"f80a0c7dd55340d5af43c083c646e26c88a4dae0","user":{"login":"patriciagao","id":3469844,"avatar_url":"https://avatars.githubusercontent.com/u/3469844?v=3","gravatar_id":"","url":"https://api.github.com/users/patriciagao","html_url":"https://github.com/patriciagao","followers_url":"https://api.github.com/users/patriciagao/followers","following_url":"https://api.github.com/users/patriciagao/following{/other_user}","gists_url":"https://api.github.com/users/patriciagao/gists{/gist_id}","starred_url":"https://api.github.com/users/patriciagao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriciagao/subscriptions","organizations_url":"https://api.github.com/users/patriciagao/orgs","repos_url":"https://api.github.com/users/patriciagao/repos","events_url":"https://api.github.com/users/patriciagao/events{/privacy}","received_events_url":"https://api.github.com/users/patriciagao/received_events","type":"User","site_admin":false},"body":"You can pass a block to the `link_to` helper so you don´t need to do the `html_safe` stuff. Ie:\r\n```ruby\r\nlink_to profile_path do\r\n  <i class=\"fa fa-caret-left fa-2x\"></i>\r\nend\r\n```","created_at":"2015-08-19T07:32:13Z","updated_at":"2015-08-19T07:32:13Z","html_url":"https://github.com/rafuellos/placeme/pull/1#discussion_r37386621","pull_request_url":"https://api.github.com/repos/rafuellos/placeme/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/rafuellos/placeme/pulls/comments/37386621"},"html":{"href":"https://github.com/rafuellos/placeme/pull/1#discussion_r37386621"},"pull_request":{"href":"https://api.github.com/repos/rafuellos/placeme/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/rafuellos/placeme/pulls/1","id":42741858,"html_url":"https://github.com/rafuellos/placeme/pull/1","diff_url":"https://github.com/rafuellos/placeme/pull/1.diff","patch_url":"https://github.com/rafuellos/placeme/pull/1.patch","issue_url":"https://api.github.com/repos/rafuellos/placeme/issues/1","number":1,"state":"open","locked":false,"title":"Add places creation","user":{"login":"rafuellos","id":12629970,"avatar_url":"https://avatars.githubusercontent.com/u/12629970?v=3","gravatar_id":"","url":"https://api.github.com/users/rafuellos","html_url":"https://github.com/rafuellos","followers_url":"https://api.github.com/users/rafuellos/followers","following_url":"https://api.github.com/users/rafuellos/following{/other_user}","gists_url":"https://api.github.com/users/rafuellos/gists{/gist_id}","starred_url":"https://api.github.com/users/rafuellos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafuellos/subscriptions","organizations_url":"https://api.github.com/users/rafuellos/orgs","repos_url":"https://api.github.com/users/rafuellos/repos","events_url":"https://api.github.com/users/rafuellos/events{/privacy}","received_events_url":"https://api.github.com/users/rafuellos/received_events","type":"User","site_admin":false},"body":"He implementado las funcionalidades de places menos la parte de compartir por ahora. Todo esta autorizado mediante pundit y se pueden crear los places con foto. Todavía no he incluido localización (me han comentado que es posible que algunas fotos guarden en los datos del archivo la localización desde la que se guarda voy a investigarlo).\r\nEstoy mirando como incluir los temas de internacionalization que me has comentado y la otra gema, pero creo que con esta parte las funcionalidades básicas están cubiertas.\r\nHe tenido algún problema porque me ha incluido ficheros de imágenes en este branch, ya lo he incluido en gitignore para que no me lo incluya en los commits.","created_at":"2015-08-18T20:01:20Z","updated_at":"2015-08-19T07:32:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56a0602d29c8f81a127220833538b4309835aea8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rafuellos/placeme/pulls/1/commits","review_comments_url":"https://api.github.com/repos/rafuellos/placeme/pulls/1/comments","review_comment_url":"https://api.github.com/repos/rafuellos/placeme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rafuellos/placeme/issues/1/comments","statuses_url":"https://api.github.com/repos/rafuellos/placeme/statuses/f80a0c7dd55340d5af43c083c646e26c88a4dae0","head":{"label":"rafuellos:add_places_creation","ref":"add_places_creation","sha":"f80a0c7dd55340d5af43c083c646e26c88a4dae0","user":{"login":"rafuellos","id":12629970,"avatar_url":"https://avatars.githubusercontent.com/u/12629970?v=3","gravatar_id":"","url":"https://api.github.com/users/rafuellos","html_url":"https://github.com/rafuellos","followers_url":"https://api.github.com/users/rafuellos/followers","following_url":"https://api.github.com/users/rafuellos/following{/other_user}","gists_url":"https://api.github.com/users/rafuellos/gists{/gist_id}","starred_url":"https://api.github.com/users/rafuellos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafuellos/subscriptions","organizations_url":"https://api.github.com/users/rafuellos/orgs","repos_url":"https://api.github.com/users/rafuellos/repos","events_url":"https://api.github.com/users/rafuellos/events{/privacy}","received_events_url":"https://api.github.com/users/rafuellos/received_events","type":"User","site_admin":false},"repo":{"id":40873873,"name":"placeme","full_name":"rafuellos/placeme","owner":{"login":"rafuellos","id":12629970,"avatar_url":"https://avatars.githubusercontent.com/u/12629970?v=3","gravatar_id":"","url":"https://api.github.com/users/rafuellos","html_url":"https://github.com/rafuellos","followers_url":"https://api.github.com/users/rafuellos/followers","following_url":"https://api.github.com/users/rafuellos/following{/other_user}","gists_url":"https://api.github.com/users/rafuellos/gists{/gist_id}","starred_url":"https://api.github.com/users/rafuellos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafuellos/subscriptions","organizations_url":"https://api.github.com/users/rafuellos/orgs","repos_url":"https://api.github.com/users/rafuellos/repos","events_url":"https://api.github.com/users/rafuellos/events{/privacy}","received_events_url":"https://api.github.com/users/rafuellos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rafuellos/placeme","description":"","fork":false,"url":"https://api.github.com/repos/rafuellos/placeme","forks_url":"https://api.github.com/repos/rafuellos/placeme/forks","keys_url":"https://api.github.com/repos/rafuellos/placeme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rafuellos/placeme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rafuellos/placeme/teams","hooks_url":"https://api.github.com/repos/rafuellos/placeme/hooks","issue_events_url":"https://api.github.com/repos/rafuellos/placeme/issues/events{/number}","events_url":"https://api.github.com/repos/rafuellos/placeme/events","assignees_url":"https://api.github.com/repos/rafuellos/placeme/assignees{/user}","branches_url":"https://api.github.com/repos/rafuellos/placeme/branches{/branch}","tags_url":"https://api.github.com/repos/rafuellos/placeme/tags","blobs_url":"https://api.github.com/repos/rafuellos/placeme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rafuellos/placeme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rafuellos/placeme/git/refs{/sha}","trees_url":"https://api.github.com/repos/rafuellos/placeme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rafuellos/placeme/statuses/{sha}","languages_url":"https://api.github.com/repos/rafuellos/placeme/languages","stargazers_url":"https://api.github.com/repos/rafuellos/placeme/stargazers","contributors_url":"https://api.github.com/repos/rafuellos/placeme/contributors","subscribers_url":"https://api.github.com/repos/rafuellos/placeme/subscribers","subscription_url":"https://api.github.com/repos/rafuellos/placeme/subscription","commits_url":"https://api.github.com/repos/rafuellos/placeme/commits{/sha}","git_commits_url":"https://api.github.com/repos/rafuellos/placeme/git/commits{/sha}","comments_url":"https://api.github.com/repos/rafuellos/placeme/comments{/number}","issue_comment_url":"https://api.github.com/repos/rafuellos/placeme/issues/comments{/number}","contents_url":"https://api.github.com/repos/rafuellos/placeme/contents/{+path}","compare_url":"https://api.github.com/repos/rafuellos/placeme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rafuellos/placeme/merges","archive_url":"https://api.github.com/repos/rafuellos/placeme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rafuellos/placeme/downloads","issues_url":"https://api.github.com/repos/rafuellos/placeme/issues{/number}","pulls_url":"https://api.github.com/repos/rafuellos/placeme/pulls{/number}","milestones_url":"https://api.github.com/repos/rafuellos/placeme/milestones{/number}","notifications_url":"https://api.github.com/repos/rafuellos/placeme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rafuellos/placeme/labels{/name}","releases_url":"https://api.github.com/repos/rafuellos/placeme/releases{/id}","created_at":"2015-08-17T07:31:28Z","updated_at":"2015-08-18T07:27:23Z","pushed_at":"2015-08-18T20:01:20Z","git_url":"git://github.com/rafuellos/placeme.git","ssh_url":"git@github.com:rafuellos/placeme.git","clone_url":"https://github.com/rafuellos/placeme.git","svn_url":"https://github.com/rafuellos/placeme","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rafuellos:master","ref":"master","sha":"9d63fa2cb769be3183dcd3352ad2e521a0cc44fa","user":{"login":"rafuellos","id":12629970,"avatar_url":"https://avatars.githubusercontent.com/u/12629970?v=3","gravatar_id":"","url":"https://api.github.com/users/rafuellos","html_url":"https://github.com/rafuellos","followers_url":"https://api.github.com/users/rafuellos/followers","following_url":"https://api.github.com/users/rafuellos/following{/other_user}","gists_url":"https://api.github.com/users/rafuellos/gists{/gist_id}","starred_url":"https://api.github.com/users/rafuellos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafuellos/subscriptions","organizations_url":"https://api.github.com/users/rafuellos/orgs","repos_url":"https://api.github.com/users/rafuellos/repos","events_url":"https://api.github.com/users/rafuellos/events{/privacy}","received_events_url":"https://api.github.com/users/rafuellos/received_events","type":"User","site_admin":false},"repo":{"id":40873873,"name":"placeme","full_name":"rafuellos/placeme","owner":{"login":"rafuellos","id":12629970,"avatar_url":"https://avatars.githubusercontent.com/u/12629970?v=3","gravatar_id":"","url":"https://api.github.com/users/rafuellos","html_url":"https://github.com/rafuellos","followers_url":"https://api.github.com/users/rafuellos/followers","following_url":"https://api.github.com/users/rafuellos/following{/other_user}","gists_url":"https://api.github.com/users/rafuellos/gists{/gist_id}","starred_url":"https://api.github.com/users/rafuellos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafuellos/subscriptions","organizations_url":"https://api.github.com/users/rafuellos/orgs","repos_url":"https://api.github.com/users/rafuellos/repos","events_url":"https://api.github.com/users/rafuellos/events{/privacy}","received_events_url":"https://api.github.com/users/rafuellos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rafuellos/placeme","description":"","fork":false,"url":"https://api.github.com/repos/rafuellos/placeme","forks_url":"https://api.github.com/repos/rafuellos/placeme/forks","keys_url":"https://api.github.com/repos/rafuellos/placeme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rafuellos/placeme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rafuellos/placeme/teams","hooks_url":"https://api.github.com/repos/rafuellos/placeme/hooks","issue_events_url":"https://api.github.com/repos/rafuellos/placeme/issues/events{/number}","events_url":"https://api.github.com/repos/rafuellos/placeme/events","assignees_url":"https://api.github.com/repos/rafuellos/placeme/assignees{/user}","branches_url":"https://api.github.com/repos/rafuellos/placeme/branches{/branch}","tags_url":"https://api.github.com/repos/rafuellos/placeme/tags","blobs_url":"https://api.github.com/repos/rafuellos/placeme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rafuellos/placeme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rafuellos/placeme/git/refs{/sha}","trees_url":"https://api.github.com/repos/rafuellos/placeme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rafuellos/placeme/statuses/{sha}","languages_url":"https://api.github.com/repos/rafuellos/placeme/languages","stargazers_url":"https://api.github.com/repos/rafuellos/placeme/stargazers","contributors_url":"https://api.github.com/repos/rafuellos/placeme/contributors","subscribers_url":"https://api.github.com/repos/rafuellos/placeme/subscribers","subscription_url":"https://api.github.com/repos/rafuellos/placeme/subscription","commits_url":"https://api.github.com/repos/rafuellos/placeme/commits{/sha}","git_commits_url":"https://api.github.com/repos/rafuellos/placeme/git/commits{/sha}","comments_url":"https://api.github.com/repos/rafuellos/placeme/comments{/number}","issue_comment_url":"https://api.github.com/repos/rafuellos/placeme/issues/comments{/number}","contents_url":"https://api.github.com/repos/rafuellos/placeme/contents/{+path}","compare_url":"https://api.github.com/repos/rafuellos/placeme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rafuellos/placeme/merges","archive_url":"https://api.github.com/repos/rafuellos/placeme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rafuellos/placeme/downloads","issues_url":"https://api.github.com/repos/rafuellos/placeme/issues{/number}","pulls_url":"https://api.github.com/repos/rafuellos/placeme/pulls{/number}","milestones_url":"https://api.github.com/repos/rafuellos/placeme/milestones{/number}","notifications_url":"https://api.github.com/repos/rafuellos/placeme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rafuellos/placeme/labels{/name}","releases_url":"https://api.github.com/repos/rafuellos/placeme/releases{/id}","created_at":"2015-08-17T07:31:28Z","updated_at":"2015-08-18T07:27:23Z","pushed_at":"2015-08-18T20:01:20Z","git_url":"git://github.com/rafuellos/placeme.git","ssh_url":"git@github.com:rafuellos/placeme.git","clone_url":"https://github.com/rafuellos/placeme.git","svn_url":"https://github.com/rafuellos/placeme","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rafuellos/placeme/pulls/1"},"html":{"href":"https://github.com/rafuellos/placeme/pull/1"},"issue":{"href":"https://api.github.com/repos/rafuellos/placeme/issues/1"},"comments":{"href":"https://api.github.com/repos/rafuellos/placeme/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/rafuellos/placeme/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/rafuellos/placeme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rafuellos/placeme/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/rafuellos/placeme/statuses/f80a0c7dd55340d5af43c083c646e26c88a4dae0"}}}}