{"action":"created","comment":{"url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/comments/47910148","id":47910148,"diff_hunk":"@@ -0,0 +1,111 @@\n+class TramiteDatatable < AjaxDatatablesRails::Base\n+  def_delegator :@view, :index_tramite\n+  def as_json(options = {})\n+    {\n+      :draw => params[:draw].to_i,\n+      :recordsTotal =>  get_raw_records.count(:all),\n+      :recordsFiltered => filter_records(get_raw_records).count(:all),\n+      :data => data","path":"app/datatables/tramite_datatable.rb","position":8,"original_position":8,"commit_id":"6f81a27bb012b6b86a1ff49cd013d314a065e74b","original_commit_id":"6f81a27bb012b6b86a1ff49cd013d314a065e74b","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use the new Ruby 1.9 hash syntax.","created_at":"2015-12-17T14:22:39Z","updated_at":"2015-12-17T14:22:39Z","html_url":"https://github.com/jlgasparrini/sistema-legislativo-digital/pull/164#discussion_r47910148","pull_request_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/164","_links":{"self":{"href":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/comments/47910148"},"html":{"href":"https://github.com/jlgasparrini/sistema-legislativo-digital/pull/164#discussion_r47910148"},"pull_request":{"href":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/164"}}},"pull_request":{"url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/164","id":53981542,"html_url":"https://github.com/jlgasparrini/sistema-legislativo-digital/pull/164","diff_url":"https://github.com/jlgasparrini/sistema-legislativo-digital/pull/164.diff","patch_url":"https://github.com/jlgasparrini/sistema-legislativo-digital/pull/164.patch","issue_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/issues/164","number":164,"state":"closed","locked":false,"title":"Add data tables to reports","user":{"login":"rodrigoabella","id":2395089,"avatar_url":"https://avatars.githubusercontent.com/u/2395089?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigoabella","html_url":"https://github.com/rodrigoabella","followers_url":"https://api.github.com/users/rodrigoabella/followers","following_url":"https://api.github.com/users/rodrigoabella/following{/other_user}","gists_url":"https://api.github.com/users/rodrigoabella/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigoabella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigoabella/subscriptions","organizations_url":"https://api.github.com/users/rodrigoabella/orgs","repos_url":"https://api.github.com/users/rodrigoabella/repos","events_url":"https://api.github.com/users/rodrigoabella/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigoabella/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-17T14:22:29Z","updated_at":"2015-12-17T14:22:39Z","closed_at":"2015-12-17T14:22:33Z","merged_at":"2015-12-17T14:22:33Z","merge_commit_sha":"654d144b353580a238685898dc40b910c43fe6e8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/164/commits","review_comments_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/164/comments","review_comment_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/issues/164/comments","statuses_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/statuses/6f81a27bb012b6b86a1ff49cd013d314a065e74b","head":{"label":"jlgasparrini:ra/add_dataTables_to_reports","ref":"ra/add_dataTables_to_reports","sha":"6f81a27bb012b6b86a1ff49cd013d314a065e74b","user":{"login":"jlgasparrini","id":4787484,"avatar_url":"https://avatars.githubusercontent.com/u/4787484?v=3","gravatar_id":"","url":"https://api.github.com/users/jlgasparrini","html_url":"https://github.com/jlgasparrini","followers_url":"https://api.github.com/users/jlgasparrini/followers","following_url":"https://api.github.com/users/jlgasparrini/following{/other_user}","gists_url":"https://api.github.com/users/jlgasparrini/gists{/gist_id}","starred_url":"https://api.github.com/users/jlgasparrini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlgasparrini/subscriptions","organizations_url":"https://api.github.com/users/jlgasparrini/orgs","repos_url":"https://api.github.com/users/jlgasparrini/repos","events_url":"https://api.github.com/users/jlgasparrini/events{/privacy}","received_events_url":"https://api.github.com/users/jlgasparrini/received_events","type":"User","site_admin":false},"repo":{"id":37981070,"name":"sistema-legislativo-digital","full_name":"jlgasparrini/sistema-legislativo-digital","owner":{"login":"jlgasparrini","id":4787484,"avatar_url":"https://avatars.githubusercontent.com/u/4787484?v=3","gravatar_id":"","url":"https://api.github.com/users/jlgasparrini","html_url":"https://github.com/jlgasparrini","followers_url":"https://api.github.com/users/jlgasparrini/followers","following_url":"https://api.github.com/users/jlgasparrini/following{/other_user}","gists_url":"https://api.github.com/users/jlgasparrini/gists{/gist_id}","starred_url":"https://api.github.com/users/jlgasparrini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlgasparrini/subscriptions","organizations_url":"https://api.github.com/users/jlgasparrini/orgs","repos_url":"https://api.github.com/users/jlgasparrini/repos","events_url":"https://api.github.com/users/jlgasparrini/events{/privacy}","received_events_url":"https://api.github.com/users/jlgasparrini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlgasparrini/sistema-legislativo-digital","description":"Sistema legislativo digital - Concejo Deliberante - Río Cuarto, Córdoba, Argentina","fork":false,"url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital","forks_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/forks","keys_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/teams","hooks_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/hooks","issue_events_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/issues/events{/number}","events_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/events","assignees_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/assignees{/user}","branches_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/branches{/branch}","tags_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/tags","blobs_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/statuses/{sha}","languages_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/languages","stargazers_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/stargazers","contributors_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/contributors","subscribers_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/subscribers","subscription_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/subscription","commits_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/contents/{+path}","compare_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/merges","archive_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/downloads","issues_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/issues{/number}","pulls_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls{/number}","milestones_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/milestones{/number}","notifications_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/labels{/name}","releases_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/releases{/id}","created_at":"2015-06-24T11:42:28Z","updated_at":"2015-10-09T19:43:25Z","pushed_at":"2015-12-17T14:22:34Z","git_url":"git://github.com/jlgasparrini/sistema-legislativo-digital.git","ssh_url":"git@github.com:jlgasparrini/sistema-legislativo-digital.git","clone_url":"https://github.com/jlgasparrini/sistema-legislativo-digital.git","svn_url":"https://github.com/jlgasparrini/sistema-legislativo-digital","homepage":"http://www.concejoriocuarto.gov.ar/","size":768,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"develop"}},"base":{"label":"jlgasparrini:develop","ref":"develop","sha":"be296cc575a13243ebb922a810d3fa0bab25d2d2","user":{"login":"jlgasparrini","id":4787484,"avatar_url":"https://avatars.githubusercontent.com/u/4787484?v=3","gravatar_id":"","url":"https://api.github.com/users/jlgasparrini","html_url":"https://github.com/jlgasparrini","followers_url":"https://api.github.com/users/jlgasparrini/followers","following_url":"https://api.github.com/users/jlgasparrini/following{/other_user}","gists_url":"https://api.github.com/users/jlgasparrini/gists{/gist_id}","starred_url":"https://api.github.com/users/jlgasparrini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlgasparrini/subscriptions","organizations_url":"https://api.github.com/users/jlgasparrini/orgs","repos_url":"https://api.github.com/users/jlgasparrini/repos","events_url":"https://api.github.com/users/jlgasparrini/events{/privacy}","received_events_url":"https://api.github.com/users/jlgasparrini/received_events","type":"User","site_admin":false},"repo":{"id":37981070,"name":"sistema-legislativo-digital","full_name":"jlgasparrini/sistema-legislativo-digital","owner":{"login":"jlgasparrini","id":4787484,"avatar_url":"https://avatars.githubusercontent.com/u/4787484?v=3","gravatar_id":"","url":"https://api.github.com/users/jlgasparrini","html_url":"https://github.com/jlgasparrini","followers_url":"https://api.github.com/users/jlgasparrini/followers","following_url":"https://api.github.com/users/jlgasparrini/following{/other_user}","gists_url":"https://api.github.com/users/jlgasparrini/gists{/gist_id}","starred_url":"https://api.github.com/users/jlgasparrini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlgasparrini/subscriptions","organizations_url":"https://api.github.com/users/jlgasparrini/orgs","repos_url":"https://api.github.com/users/jlgasparrini/repos","events_url":"https://api.github.com/users/jlgasparrini/events{/privacy}","received_events_url":"https://api.github.com/users/jlgasparrini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlgasparrini/sistema-legislativo-digital","description":"Sistema legislativo digital - Concejo Deliberante - Río Cuarto, Córdoba, Argentina","fork":false,"url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital","forks_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/forks","keys_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/teams","hooks_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/hooks","issue_events_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/issues/events{/number}","events_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/events","assignees_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/assignees{/user}","branches_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/branches{/branch}","tags_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/tags","blobs_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/statuses/{sha}","languages_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/languages","stargazers_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/stargazers","contributors_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/contributors","subscribers_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/subscribers","subscription_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/subscription","commits_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/contents/{+path}","compare_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/merges","archive_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/downloads","issues_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/issues{/number}","pulls_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls{/number}","milestones_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/milestones{/number}","notifications_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/labels{/name}","releases_url":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/releases{/id}","created_at":"2015-06-24T11:42:28Z","updated_at":"2015-10-09T19:43:25Z","pushed_at":"2015-12-17T14:22:34Z","git_url":"git://github.com/jlgasparrini/sistema-legislativo-digital.git","ssh_url":"git@github.com:jlgasparrini/sistema-legislativo-digital.git","clone_url":"https://github.com/jlgasparrini/sistema-legislativo-digital.git","svn_url":"https://github.com/jlgasparrini/sistema-legislativo-digital","homepage":"http://www.concejoriocuarto.gov.ar/","size":768,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/164"},"html":{"href":"https://github.com/jlgasparrini/sistema-legislativo-digital/pull/164"},"issue":{"href":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/issues/164"},"comments":{"href":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/issues/164/comments"},"review_comments":{"href":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/164/comments"},"review_comment":{"href":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/pulls/164/commits"},"statuses":{"href":"https://api.github.com/repos/jlgasparrini/sistema-legislativo-digital/statuses/6f81a27bb012b6b86a1ff49cd013d314a065e74b"}}}}