{"action":"created","comment":{"url":"https://api.github.com/repos/Vizzuality/GCPM/pulls/comments/84671182","pull_request_review_id":5433032,"id":84671182,"diff_hunk":"@@ -1,14 +1,18 @@\n ActiveAdmin.register_page \"Excel Upload\" do\n   menu parent: \"Administration\", priority: 1\n \n+\n   controller do\n+  skip_before_action :verify_authenticity_token\n     after_action :reset_keys, only: :import\n     def index\n       render 'admin/excel_upload/new', layout: 'active_admin'\n     end\n     def reset_keys\n-      Rake::Task['db:keys'].reenable # in case you're going to invoke the same task second time.\n-      Rake::Task['db:keys'].invoke\n+      ActiveRecord::Base.connection.tables.each do |t|\n+        ActiveRecord::Base.connection.reset_pk_sequence!(t)\n+        puts 'reseting ' + t + ' keys'","path":"app/admin/excel_uploader.rb","position":16,"original_position":16,"commit_id":"dd279deb0e14c38420e9a4d1a48e104df4e2a4af","original_commit_id":"dd279deb0e14c38420e9a4d1a48e104df4e2a4af","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Rails/Output: Do not write to stdout. Use Rails' logger if you want to log.","created_at":"2016-10-24T11:57:52Z","updated_at":"2016-10-24T11:57:52Z","html_url":"https://github.com/Vizzuality/GCPM/pull/165#discussion_r84671182","pull_request_url":"https://api.github.com/repos/Vizzuality/GCPM/pulls/165","_links":{"self":{"href":"https://api.github.com/repos/Vizzuality/GCPM/pulls/comments/84671182"},"html":{"href":"https://github.com/Vizzuality/GCPM/pull/165#discussion_r84671182"},"pull_request":{"href":"https://api.github.com/repos/Vizzuality/GCPM/pulls/165"}}},"pull_request":{"url":"https://api.github.com/repos/Vizzuality/GCPM/pulls/165","id":90598029,"html_url":"https://github.com/Vizzuality/GCPM/pull/165","diff_url":"https://github.com/Vizzuality/GCPM/pull/165.diff","patch_url":"https://github.com/Vizzuality/GCPM/pull/165.patch","issue_url":"https://api.github.com/repos/Vizzuality/GCPM/issues/165","number":165,"state":"open","locked":false,"title":"Feature/excel import","user":{"login":"bitTal","id":10086921,"avatar_url":"https://avatars.githubusercontent.com/u/10086921?v=3","gravatar_id":"","url":"https://api.github.com/users/bitTal","html_url":"https://github.com/bitTal","followers_url":"https://api.github.com/users/bitTal/followers","following_url":"https://api.github.com/users/bitTal/following{/other_user}","gists_url":"https://api.github.com/users/bitTal/gists{/gist_id}","starred_url":"https://api.github.com/users/bitTal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitTal/subscriptions","organizations_url":"https://api.github.com/users/bitTal/orgs","repos_url":"https://api.github.com/users/bitTal/repos","events_url":"https://api.github.com/users/bitTal/events{/privacy}","received_events_url":"https://api.github.com/users/bitTal/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-24T11:57:45Z","updated_at":"2016-10-24T11:57:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3fbf5dca1fe075e21acb48ae4ec1b9bc87938b38","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Vizzuality/GCPM/pulls/165/commits","review_comments_url":"https://api.github.com/repos/Vizzuality/GCPM/pulls/165/comments","review_comment_url":"https://api.github.com/repos/Vizzuality/GCPM/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vizzuality/GCPM/issues/165/comments","statuses_url":"https://api.github.com/repos/Vizzuality/GCPM/statuses/dd279deb0e14c38420e9a4d1a48e104df4e2a4af","head":{"label":"Vizzuality:feature/excel-import","ref":"feature/excel-import","sha":"dd279deb0e14c38420e9a4d1a48e104df4e2a4af","user":{"login":"Vizzuality","id":305994,"avatar_url":"https://avatars.githubusercontent.com/u/305994?v=3","gravatar_id":"","url":"https://api.github.com/users/Vizzuality","html_url":"https://github.com/Vizzuality","followers_url":"https://api.github.com/users/Vizzuality/followers","following_url":"https://api.github.com/users/Vizzuality/following{/other_user}","gists_url":"https://api.github.com/users/Vizzuality/gists{/gist_id}","starred_url":"https://api.github.com/users/Vizzuality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vizzuality/subscriptions","organizations_url":"https://api.github.com/users/Vizzuality/orgs","repos_url":"https://api.github.com/users/Vizzuality/repos","events_url":"https://api.github.com/users/Vizzuality/events{/privacy}","received_events_url":"https://api.github.com/users/Vizzuality/received_events","type":"Organization","site_admin":false},"repo":{"id":61202570,"name":"GCPM","full_name":"Vizzuality/GCPM","owner":{"login":"Vizzuality","id":305994,"avatar_url":"https://avatars.githubusercontent.com/u/305994?v=3","gravatar_id":"","url":"https://api.github.com/users/Vizzuality","html_url":"https://github.com/Vizzuality","followers_url":"https://api.github.com/users/Vizzuality/followers","following_url":"https://api.github.com/users/Vizzuality/following{/other_user}","gists_url":"https://api.github.com/users/Vizzuality/gists{/gist_id}","starred_url":"https://api.github.com/users/Vizzuality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vizzuality/subscriptions","organizations_url":"https://api.github.com/users/Vizzuality/orgs","repos_url":"https://api.github.com/users/Vizzuality/repos","events_url":"https://api.github.com/users/Vizzuality/events{/privacy}","received_events_url":"https://api.github.com/users/Vizzuality/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vizzuality/GCPM","description":"Global Cancer Project Map V2","fork":false,"url":"https://api.github.com/repos/Vizzuality/GCPM","forks_url":"https://api.github.com/repos/Vizzuality/GCPM/forks","keys_url":"https://api.github.com/repos/Vizzuality/GCPM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vizzuality/GCPM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vizzuality/GCPM/teams","hooks_url":"https://api.github.com/repos/Vizzuality/GCPM/hooks","issue_events_url":"https://api.github.com/repos/Vizzuality/GCPM/issues/events{/number}","events_url":"https://api.github.com/repos/Vizzuality/GCPM/events","assignees_url":"https://api.github.com/repos/Vizzuality/GCPM/assignees{/user}","branches_url":"https://api.github.com/repos/Vizzuality/GCPM/branches{/branch}","tags_url":"https://api.github.com/repos/Vizzuality/GCPM/tags","blobs_url":"https://api.github.com/repos/Vizzuality/GCPM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vizzuality/GCPM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vizzuality/GCPM/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vizzuality/GCPM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vizzuality/GCPM/statuses/{sha}","languages_url":"https://api.github.com/repos/Vizzuality/GCPM/languages","stargazers_url":"https://api.github.com/repos/Vizzuality/GCPM/stargazers","contributors_url":"https://api.github.com/repos/Vizzuality/GCPM/contributors","subscribers_url":"https://api.github.com/repos/Vizzuality/GCPM/subscribers","subscription_url":"https://api.github.com/repos/Vizzuality/GCPM/subscription","commits_url":"https://api.github.com/repos/Vizzuality/GCPM/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vizzuality/GCPM/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vizzuality/GCPM/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vizzuality/GCPM/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vizzuality/GCPM/contents/{+path}","compare_url":"https://api.github.com/repos/Vizzuality/GCPM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vizzuality/GCPM/merges","archive_url":"https://api.github.com/repos/Vizzuality/GCPM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vizzuality/GCPM/downloads","issues_url":"https://api.github.com/repos/Vizzuality/GCPM/issues{/number}","pulls_url":"https://api.github.com/repos/Vizzuality/GCPM/pulls{/number}","milestones_url":"https://api.github.com/repos/Vizzuality/GCPM/milestones{/number}","notifications_url":"https://api.github.com/repos/Vizzuality/GCPM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vizzuality/GCPM/labels{/name}","releases_url":"https://api.github.com/repos/Vizzuality/GCPM/releases{/id}","deployments_url":"https://api.github.com/repos/Vizzuality/GCPM/deployments","created_at":"2016-06-15T11:22:56Z","updated_at":"2016-09-28T10:08:01Z","pushed_at":"2016-10-24T11:57:45Z","git_url":"git://github.com/Vizzuality/GCPM.git","ssh_url":"git@github.com:Vizzuality/GCPM.git","clone_url":"https://github.com/Vizzuality/GCPM.git","svn_url":"https://github.com/Vizzuality/GCPM","homepage":null,"size":6109,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Vizzuality:develop","ref":"develop","sha":"a326ba53ecb01548625585c89ec266899204425d","user":{"login":"Vizzuality","id":305994,"avatar_url":"https://avatars.githubusercontent.com/u/305994?v=3","gravatar_id":"","url":"https://api.github.com/users/Vizzuality","html_url":"https://github.com/Vizzuality","followers_url":"https://api.github.com/users/Vizzuality/followers","following_url":"https://api.github.com/users/Vizzuality/following{/other_user}","gists_url":"https://api.github.com/users/Vizzuality/gists{/gist_id}","starred_url":"https://api.github.com/users/Vizzuality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vizzuality/subscriptions","organizations_url":"https://api.github.com/users/Vizzuality/orgs","repos_url":"https://api.github.com/users/Vizzuality/repos","events_url":"https://api.github.com/users/Vizzuality/events{/privacy}","received_events_url":"https://api.github.com/users/Vizzuality/received_events","type":"Organization","site_admin":false},"repo":{"id":61202570,"name":"GCPM","full_name":"Vizzuality/GCPM","owner":{"login":"Vizzuality","id":305994,"avatar_url":"https://avatars.githubusercontent.com/u/305994?v=3","gravatar_id":"","url":"https://api.github.com/users/Vizzuality","html_url":"https://github.com/Vizzuality","followers_url":"https://api.github.com/users/Vizzuality/followers","following_url":"https://api.github.com/users/Vizzuality/following{/other_user}","gists_url":"https://api.github.com/users/Vizzuality/gists{/gist_id}","starred_url":"https://api.github.com/users/Vizzuality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vizzuality/subscriptions","organizations_url":"https://api.github.com/users/Vizzuality/orgs","repos_url":"https://api.github.com/users/Vizzuality/repos","events_url":"https://api.github.com/users/Vizzuality/events{/privacy}","received_events_url":"https://api.github.com/users/Vizzuality/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vizzuality/GCPM","description":"Global Cancer Project Map V2","fork":false,"url":"https://api.github.com/repos/Vizzuality/GCPM","forks_url":"https://api.github.com/repos/Vizzuality/GCPM/forks","keys_url":"https://api.github.com/repos/Vizzuality/GCPM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vizzuality/GCPM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vizzuality/GCPM/teams","hooks_url":"https://api.github.com/repos/Vizzuality/GCPM/hooks","issue_events_url":"https://api.github.com/repos/Vizzuality/GCPM/issues/events{/number}","events_url":"https://api.github.com/repos/Vizzuality/GCPM/events","assignees_url":"https://api.github.com/repos/Vizzuality/GCPM/assignees{/user}","branches_url":"https://api.github.com/repos/Vizzuality/GCPM/branches{/branch}","tags_url":"https://api.github.com/repos/Vizzuality/GCPM/tags","blobs_url":"https://api.github.com/repos/Vizzuality/GCPM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vizzuality/GCPM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vizzuality/GCPM/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vizzuality/GCPM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vizzuality/GCPM/statuses/{sha}","languages_url":"https://api.github.com/repos/Vizzuality/GCPM/languages","stargazers_url":"https://api.github.com/repos/Vizzuality/GCPM/stargazers","contributors_url":"https://api.github.com/repos/Vizzuality/GCPM/contributors","subscribers_url":"https://api.github.com/repos/Vizzuality/GCPM/subscribers","subscription_url":"https://api.github.com/repos/Vizzuality/GCPM/subscription","commits_url":"https://api.github.com/repos/Vizzuality/GCPM/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vizzuality/GCPM/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vizzuality/GCPM/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vizzuality/GCPM/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vizzuality/GCPM/contents/{+path}","compare_url":"https://api.github.com/repos/Vizzuality/GCPM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vizzuality/GCPM/merges","archive_url":"https://api.github.com/repos/Vizzuality/GCPM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vizzuality/GCPM/downloads","issues_url":"https://api.github.com/repos/Vizzuality/GCPM/issues{/number}","pulls_url":"https://api.github.com/repos/Vizzuality/GCPM/pulls{/number}","milestones_url":"https://api.github.com/repos/Vizzuality/GCPM/milestones{/number}","notifications_url":"https://api.github.com/repos/Vizzuality/GCPM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vizzuality/GCPM/labels{/name}","releases_url":"https://api.github.com/repos/Vizzuality/GCPM/releases{/id}","deployments_url":"https://api.github.com/repos/Vizzuality/GCPM/deployments","created_at":"2016-06-15T11:22:56Z","updated_at":"2016-09-28T10:08:01Z","pushed_at":"2016-10-24T11:57:45Z","git_url":"git://github.com/Vizzuality/GCPM.git","ssh_url":"git@github.com:Vizzuality/GCPM.git","clone_url":"https://github.com/Vizzuality/GCPM.git","svn_url":"https://github.com/Vizzuality/GCPM","homepage":null,"size":6109,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Vizzuality/GCPM/pulls/165"},"html":{"href":"https://github.com/Vizzuality/GCPM/pull/165"},"issue":{"href":"https://api.github.com/repos/Vizzuality/GCPM/issues/165"},"comments":{"href":"https://api.github.com/repos/Vizzuality/GCPM/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/Vizzuality/GCPM/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/Vizzuality/GCPM/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vizzuality/GCPM/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/Vizzuality/GCPM/statuses/dd279deb0e14c38420e9a4d1a48e104df4e2a4af"}}}}
{"actor":{"display_login":"houndci-bot"}}