{"action":"created","comment":{"url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/comments/46545930","id":46545930,"diff_hunk":"@@ -0,0 +1,11 @@\n+= render partial: 'items/notifications', locals: {list_id: list_id}\n+= form_for(@item,remote: true, url: { controller: :items,\n+                         action: :create },","path":"app/views/items/_new.html.haml","position":3,"original_position":3,"commit_id":"5a05c51672213a32ebf48c4febdfcf2de3a7e2bc","original_commit_id":"5a05c51672213a32ebf48c4febdfcf2de3a7e2bc","user":{"login":"serhiir","id":16033240,"avatar_url":"https://avatars.githubusercontent.com/u/16033240?v=3","gravatar_id":"","url":"https://api.github.com/users/serhiir","html_url":"https://github.com/serhiir","followers_url":"https://api.github.com/users/serhiir/followers","following_url":"https://api.github.com/users/serhiir/following{/other_user}","gists_url":"https://api.github.com/users/serhiir/gists{/gist_id}","starred_url":"https://api.github.com/users/serhiir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serhiir/subscriptions","organizations_url":"https://api.github.com/users/serhiir/orgs","repos_url":"https://api.github.com/users/serhiir/repos","events_url":"https://api.github.com/users/serhiir/events{/privacy}","received_events_url":"https://api.github.com/users/serhiir/received_events","type":"User","site_admin":false},"body":"@anatoliikryvishyn What about to use Rails path method for `url: to_do_items_path`?","created_at":"2015-12-03T12:37:45Z","updated_at":"2015-12-03T12:37:45Z","html_url":"https://github.com/anatoliikryvishyn/TaDa/pull/3#discussion_r46545930","pull_request_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/comments/46545930"},"html":{"href":"https://github.com/anatoliikryvishyn/TaDa/pull/3#discussion_r46545930"},"pull_request":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/3","id":52414191,"html_url":"https://github.com/anatoliikryvishyn/TaDa/pull/3","diff_url":"https://github.com/anatoliikryvishyn/TaDa/pull/3.diff","patch_url":"https://github.com/anatoliikryvishyn/TaDa/pull/3.patch","issue_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/3","number":3,"state":"open","locked":false,"title":"A user can create a new todo item","user":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"body":"Below last ToDo Item, there should be button to add new ToDo items.\r\nWhen button is pressed, the form as in the attach should appear and focus should be in text field.\r\nIf nothing is written and u press \"Add this to-do\" button, message with information, that field is blank appears. In the other hand, if field is not blank and u press \"Add this to-do\" button, the new item should be created and appear in the end of the list. Form should change to its initial state. There should be a possibility to cancel the form with \"esc\" key, and confirm adding with \"enter\" key. All actions should be done without page refreshing.\r\n![b](https://cloud.githubusercontent.com/assets/9845250/11372235/0042911e-92d5-11e5-81d3-9b661f9521c9.png)\r\n","created_at":"2015-12-02T15:57:23Z","updated_at":"2015-12-03T12:37:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d33f9cc1b20756dc08fa33b3e61d0b95f558411b","assignee":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/milestones/2","html_url":"https://github.com/anatoliikryvishyn/TaDa/milestones/Marking/unmarking%20items,%20creating%20new%20lists","labels_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/milestones/2/labels","id":1439392,"number":2,"title":"Marking/unmarking items, creating new lists","description":"","creator":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-12-02T11:35:22Z","updated_at":"2015-12-02T11:52:53Z","due_on":"2015-12-08T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/3/commits","review_comments_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/3/comments","review_comment_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/3/comments","statuses_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/statuses/5a05c51672213a32ebf48c4febdfcf2de3a7e2bc","head":{"label":"anatoliikryvishyn:3-adding-new-items","ref":"3-adding-new-items","sha":"5a05c51672213a32ebf48c4febdfcf2de3a7e2bc","user":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"repo":{"id":46796979,"name":"TaDa","full_name":"anatoliikryvishyn/TaDa","owner":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anatoliikryvishyn/TaDa","description":"","fork":false,"url":"https://api.github.com/repos/anatoliikryvishyn/TaDa","forks_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/forks","keys_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/teams","hooks_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/hooks","issue_events_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/events{/number}","events_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/events","assignees_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/assignees{/user}","branches_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/branches{/branch}","tags_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/tags","blobs_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/refs{/sha}","trees_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/statuses/{sha}","languages_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/languages","stargazers_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/stargazers","contributors_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/contributors","subscribers_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/subscribers","subscription_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/subscription","commits_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/commits{/sha}","git_commits_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/commits{/sha}","comments_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/comments{/number}","issue_comment_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/comments{/number}","contents_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/contents/{+path}","compare_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/merges","archive_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/downloads","issues_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues{/number}","pulls_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls{/number}","milestones_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/milestones{/number}","notifications_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/labels{/name}","releases_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/releases{/id}","created_at":"2015-11-24T14:32:02Z","updated_at":"2015-11-25T14:47:38Z","pushed_at":"2015-12-03T08:44:54Z","git_url":"git://github.com/anatoliikryvishyn/TaDa.git","ssh_url":"git@github.com:anatoliikryvishyn/TaDa.git","clone_url":"https://github.com/anatoliikryvishyn/TaDa.git","svn_url":"https://github.com/anatoliikryvishyn/TaDa","homepage":null,"size":187,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"anatoliikryvishyn:master","ref":"master","sha":"3888f04b9c3310ec76c0facff1699171d3158165","user":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"repo":{"id":46796979,"name":"TaDa","full_name":"anatoliikryvishyn/TaDa","owner":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anatoliikryvishyn/TaDa","description":"","fork":false,"url":"https://api.github.com/repos/anatoliikryvishyn/TaDa","forks_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/forks","keys_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/teams","hooks_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/hooks","issue_events_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/events{/number}","events_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/events","assignees_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/assignees{/user}","branches_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/branches{/branch}","tags_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/tags","blobs_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/refs{/sha}","trees_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/statuses/{sha}","languages_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/languages","stargazers_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/stargazers","contributors_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/contributors","subscribers_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/subscribers","subscription_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/subscription","commits_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/commits{/sha}","git_commits_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/commits{/sha}","comments_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/comments{/number}","issue_comment_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/comments{/number}","contents_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/contents/{+path}","compare_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/merges","archive_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/downloads","issues_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues{/number}","pulls_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls{/number}","milestones_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/milestones{/number}","notifications_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/labels{/name}","releases_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/releases{/id}","created_at":"2015-11-24T14:32:02Z","updated_at":"2015-11-25T14:47:38Z","pushed_at":"2015-12-03T08:44:54Z","git_url":"git://github.com/anatoliikryvishyn/TaDa.git","ssh_url":"git@github.com:anatoliikryvishyn/TaDa.git","clone_url":"https://github.com/anatoliikryvishyn/TaDa.git","svn_url":"https://github.com/anatoliikryvishyn/TaDa","homepage":null,"size":187,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/3"},"html":{"href":"https://github.com/anatoliikryvishyn/TaDa/pull/3"},"issue":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/3"},"comments":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/statuses/5a05c51672213a32ebf48c4febdfcf2de3a7e2bc"}}}}