{"action":"created","comment":{"url":"https://api.github.com/repos/tachyons/simpletodo/pulls/comments/27786230","id":27786230,"diff_hunk":"@@ -6,13 +6,15 @@ class Task < ActiveRecord::Base\n   attr_accessible :name,:position,:status\n   after_create :initialise_sharetask\n   has_one :check_list\n+  scope :active, -> { where(:status => false) }","path":"app/models/task.rb","position":4,"original_position":4,"commit_id":"1a1c2c7665f7747388af78c32b9c75d5ded7e518","original_commit_id":"1a1c2c7665f7747388af78c32b9c75d5ded7e518","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-04-06T06:14:32Z","updated_at":"2015-04-06T06:14:32Z","html_url":"https://github.com/tachyons/simpletodo/pull/24#discussion_r27786230","pull_request_url":"https://api.github.com/repos/tachyons/simpletodo/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/tachyons/simpletodo/pulls/comments/27786230"},"html":{"href":"https://github.com/tachyons/simpletodo/pull/24#discussion_r27786230"},"pull_request":{"href":"https://api.github.com/repos/tachyons/simpletodo/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/tachyons/simpletodo/pulls/24","id":32663630,"html_url":"https://github.com/tachyons/simpletodo/pull/24","diff_url":"https://github.com/tachyons/simpletodo/pull/24.diff","patch_url":"https://github.com/tachyons/simpletodo/pull/24.patch","issue_url":"https://api.github.com/repos/tachyons/simpletodo/issues/24","number":24,"state":"open","locked":false,"title":"Heroku","user":{"login":"tachyons","id":3112976,"avatar_url":"https://avatars.githubusercontent.com/u/3112976?v=3","gravatar_id":"","url":"https://api.github.com/users/tachyons","html_url":"https://github.com/tachyons","followers_url":"https://api.github.com/users/tachyons/followers","following_url":"https://api.github.com/users/tachyons/following{/other_user}","gists_url":"https://api.github.com/users/tachyons/gists{/gist_id}","starred_url":"https://api.github.com/users/tachyons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachyons/subscriptions","organizations_url":"https://api.github.com/users/tachyons/orgs","repos_url":"https://api.github.com/users/tachyons/repos","events_url":"https://api.github.com/users/tachyons/events{/privacy}","received_events_url":"https://api.github.com/users/tachyons/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-06T06:14:26Z","updated_at":"2015-04-06T06:14:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"051adcab2e50375e90d42aa360b70799ca2d442f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tachyons/simpletodo/pulls/24/commits","review_comments_url":"https://api.github.com/repos/tachyons/simpletodo/pulls/24/comments","review_comment_url":"https://api.github.com/repos/tachyons/simpletodo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tachyons/simpletodo/issues/24/comments","statuses_url":"https://api.github.com/repos/tachyons/simpletodo/statuses/1a1c2c7665f7747388af78c32b9c75d5ded7e518","head":{"label":"tachyons:heroku","ref":"heroku","sha":"1a1c2c7665f7747388af78c32b9c75d5ded7e518","user":{"login":"tachyons","id":3112976,"avatar_url":"https://avatars.githubusercontent.com/u/3112976?v=3","gravatar_id":"","url":"https://api.github.com/users/tachyons","html_url":"https://github.com/tachyons","followers_url":"https://api.github.com/users/tachyons/followers","following_url":"https://api.github.com/users/tachyons/following{/other_user}","gists_url":"https://api.github.com/users/tachyons/gists{/gist_id}","starred_url":"https://api.github.com/users/tachyons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachyons/subscriptions","organizations_url":"https://api.github.com/users/tachyons/orgs","repos_url":"https://api.github.com/users/tachyons/repos","events_url":"https://api.github.com/users/tachyons/events{/privacy}","received_events_url":"https://api.github.com/users/tachyons/received_events","type":"User","site_admin":false},"repo":{"id":26846951,"name":"simpletodo","full_name":"tachyons/simpletodo","owner":{"login":"tachyons","id":3112976,"avatar_url":"https://avatars.githubusercontent.com/u/3112976?v=3","gravatar_id":"","url":"https://api.github.com/users/tachyons","html_url":"https://github.com/tachyons","followers_url":"https://api.github.com/users/tachyons/followers","following_url":"https://api.github.com/users/tachyons/following{/other_user}","gists_url":"https://api.github.com/users/tachyons/gists{/gist_id}","starred_url":"https://api.github.com/users/tachyons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachyons/subscriptions","organizations_url":"https://api.github.com/users/tachyons/orgs","repos_url":"https://api.github.com/users/tachyons/repos","events_url":"https://api.github.com/users/tachyons/events{/privacy}","received_events_url":"https://api.github.com/users/tachyons/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tachyons/simpletodo","description":"Simple todo app using rails","fork":false,"url":"https://api.github.com/repos/tachyons/simpletodo","forks_url":"https://api.github.com/repos/tachyons/simpletodo/forks","keys_url":"https://api.github.com/repos/tachyons/simpletodo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tachyons/simpletodo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tachyons/simpletodo/teams","hooks_url":"https://api.github.com/repos/tachyons/simpletodo/hooks","issue_events_url":"https://api.github.com/repos/tachyons/simpletodo/issues/events{/number}","events_url":"https://api.github.com/repos/tachyons/simpletodo/events","assignees_url":"https://api.github.com/repos/tachyons/simpletodo/assignees{/user}","branches_url":"https://api.github.com/repos/tachyons/simpletodo/branches{/branch}","tags_url":"https://api.github.com/repos/tachyons/simpletodo/tags","blobs_url":"https://api.github.com/repos/tachyons/simpletodo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tachyons/simpletodo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tachyons/simpletodo/git/refs{/sha}","trees_url":"https://api.github.com/repos/tachyons/simpletodo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tachyons/simpletodo/statuses/{sha}","languages_url":"https://api.github.com/repos/tachyons/simpletodo/languages","stargazers_url":"https://api.github.com/repos/tachyons/simpletodo/stargazers","contributors_url":"https://api.github.com/repos/tachyons/simpletodo/contributors","subscribers_url":"https://api.github.com/repos/tachyons/simpletodo/subscribers","subscription_url":"https://api.github.com/repos/tachyons/simpletodo/subscription","commits_url":"https://api.github.com/repos/tachyons/simpletodo/commits{/sha}","git_commits_url":"https://api.github.com/repos/tachyons/simpletodo/git/commits{/sha}","comments_url":"https://api.github.com/repos/tachyons/simpletodo/comments{/number}","issue_comment_url":"https://api.github.com/repos/tachyons/simpletodo/issues/comments{/number}","contents_url":"https://api.github.com/repos/tachyons/simpletodo/contents/{+path}","compare_url":"https://api.github.com/repos/tachyons/simpletodo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tachyons/simpletodo/merges","archive_url":"https://api.github.com/repos/tachyons/simpletodo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tachyons/simpletodo/downloads","issues_url":"https://api.github.com/repos/tachyons/simpletodo/issues{/number}","pulls_url":"https://api.github.com/repos/tachyons/simpletodo/pulls{/number}","milestones_url":"https://api.github.com/repos/tachyons/simpletodo/milestones{/number}","notifications_url":"https://api.github.com/repos/tachyons/simpletodo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tachyons/simpletodo/labels{/name}","releases_url":"https://api.github.com/repos/tachyons/simpletodo/releases{/id}","created_at":"2014-11-19T05:58:27Z","updated_at":"2015-04-05T12:30:52Z","pushed_at":"2015-04-06T06:14:26Z","git_url":"git://github.com/tachyons/simpletodo.git","ssh_url":"git@github.com:tachyons/simpletodo.git","clone_url":"https://github.com/tachyons/simpletodo.git","svn_url":"https://github.com/tachyons/simpletodo","homepage":null,"size":3422,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":2,"default_branch":"master"}},"base":{"label":"tachyons:master","ref":"master","sha":"053b969f1b36d16a7cfc2cc6d10e6c0c5058720e","user":{"login":"tachyons","id":3112976,"avatar_url":"https://avatars.githubusercontent.com/u/3112976?v=3","gravatar_id":"","url":"https://api.github.com/users/tachyons","html_url":"https://github.com/tachyons","followers_url":"https://api.github.com/users/tachyons/followers","following_url":"https://api.github.com/users/tachyons/following{/other_user}","gists_url":"https://api.github.com/users/tachyons/gists{/gist_id}","starred_url":"https://api.github.com/users/tachyons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachyons/subscriptions","organizations_url":"https://api.github.com/users/tachyons/orgs","repos_url":"https://api.github.com/users/tachyons/repos","events_url":"https://api.github.com/users/tachyons/events{/privacy}","received_events_url":"https://api.github.com/users/tachyons/received_events","type":"User","site_admin":false},"repo":{"id":26846951,"name":"simpletodo","full_name":"tachyons/simpletodo","owner":{"login":"tachyons","id":3112976,"avatar_url":"https://avatars.githubusercontent.com/u/3112976?v=3","gravatar_id":"","url":"https://api.github.com/users/tachyons","html_url":"https://github.com/tachyons","followers_url":"https://api.github.com/users/tachyons/followers","following_url":"https://api.github.com/users/tachyons/following{/other_user}","gists_url":"https://api.github.com/users/tachyons/gists{/gist_id}","starred_url":"https://api.github.com/users/tachyons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachyons/subscriptions","organizations_url":"https://api.github.com/users/tachyons/orgs","repos_url":"https://api.github.com/users/tachyons/repos","events_url":"https://api.github.com/users/tachyons/events{/privacy}","received_events_url":"https://api.github.com/users/tachyons/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tachyons/simpletodo","description":"Simple todo app using rails","fork":false,"url":"https://api.github.com/repos/tachyons/simpletodo","forks_url":"https://api.github.com/repos/tachyons/simpletodo/forks","keys_url":"https://api.github.com/repos/tachyons/simpletodo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tachyons/simpletodo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tachyons/simpletodo/teams","hooks_url":"https://api.github.com/repos/tachyons/simpletodo/hooks","issue_events_url":"https://api.github.com/repos/tachyons/simpletodo/issues/events{/number}","events_url":"https://api.github.com/repos/tachyons/simpletodo/events","assignees_url":"https://api.github.com/repos/tachyons/simpletodo/assignees{/user}","branches_url":"https://api.github.com/repos/tachyons/simpletodo/branches{/branch}","tags_url":"https://api.github.com/repos/tachyons/simpletodo/tags","blobs_url":"https://api.github.com/repos/tachyons/simpletodo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tachyons/simpletodo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tachyons/simpletodo/git/refs{/sha}","trees_url":"https://api.github.com/repos/tachyons/simpletodo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tachyons/simpletodo/statuses/{sha}","languages_url":"https://api.github.com/repos/tachyons/simpletodo/languages","stargazers_url":"https://api.github.com/repos/tachyons/simpletodo/stargazers","contributors_url":"https://api.github.com/repos/tachyons/simpletodo/contributors","subscribers_url":"https://api.github.com/repos/tachyons/simpletodo/subscribers","subscription_url":"https://api.github.com/repos/tachyons/simpletodo/subscription","commits_url":"https://api.github.com/repos/tachyons/simpletodo/commits{/sha}","git_commits_url":"https://api.github.com/repos/tachyons/simpletodo/git/commits{/sha}","comments_url":"https://api.github.com/repos/tachyons/simpletodo/comments{/number}","issue_comment_url":"https://api.github.com/repos/tachyons/simpletodo/issues/comments{/number}","contents_url":"https://api.github.com/repos/tachyons/simpletodo/contents/{+path}","compare_url":"https://api.github.com/repos/tachyons/simpletodo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tachyons/simpletodo/merges","archive_url":"https://api.github.com/repos/tachyons/simpletodo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tachyons/simpletodo/downloads","issues_url":"https://api.github.com/repos/tachyons/simpletodo/issues{/number}","pulls_url":"https://api.github.com/repos/tachyons/simpletodo/pulls{/number}","milestones_url":"https://api.github.com/repos/tachyons/simpletodo/milestones{/number}","notifications_url":"https://api.github.com/repos/tachyons/simpletodo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tachyons/simpletodo/labels{/name}","releases_url":"https://api.github.com/repos/tachyons/simpletodo/releases{/id}","created_at":"2014-11-19T05:58:27Z","updated_at":"2015-04-05T12:30:52Z","pushed_at":"2015-04-06T06:14:26Z","git_url":"git://github.com/tachyons/simpletodo.git","ssh_url":"git@github.com:tachyons/simpletodo.git","clone_url":"https://github.com/tachyons/simpletodo.git","svn_url":"https://github.com/tachyons/simpletodo","homepage":null,"size":3422,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tachyons/simpletodo/pulls/24"},"html":{"href":"https://github.com/tachyons/simpletodo/pull/24"},"issue":{"href":"https://api.github.com/repos/tachyons/simpletodo/issues/24"},"comments":{"href":"https://api.github.com/repos/tachyons/simpletodo/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/tachyons/simpletodo/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/tachyons/simpletodo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tachyons/simpletodo/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/tachyons/simpletodo/statuses/1a1c2c7665f7747388af78c32b9c75d5ded7e518"}}}}