{"action":"created","comment":{"url":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/comments/31907892","id":31907892,"diff_hunk":"@@ -1,8 +1,13 @@\n+require_relative('../../app/carriers/item_displaying')\n+require_relative('../../app/carriers/list_displaying')\n+\n class ToDoListsController < ApplicationController\n   before_action :set_to_do_list, only: [:show, :edit, :update, :destroy]\n \n   def index\n     @to_do_lists = ToDoList.including_items_ordered_by_id\n+    @item = ItemDisplaying.new\n+    @list = ListDisplaying.new(@to_do_lists)","path":"app/controllers/to_do_lists_controller.rb","position":10,"original_position":10,"commit_id":"d2c625585fa1f59bf49cf6114fdf269910acf39a","original_commit_id":"d2c625585fa1f59bf49cf6114fdf269910acf39a","user":{"login":"sergeyradkevich","id":2563629,"avatar_url":"https://avatars.githubusercontent.com/u/2563629?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeyradkevich","html_url":"https://github.com/sergeyradkevich","followers_url":"https://api.github.com/users/sergeyradkevich/followers","following_url":"https://api.github.com/users/sergeyradkevich/following{/other_user}","gists_url":"https://api.github.com/users/sergeyradkevich/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyradkevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyradkevich/subscriptions","organizations_url":"https://api.github.com/users/sergeyradkevich/orgs","repos_url":"https://api.github.com/users/sergeyradkevich/repos","events_url":"https://api.github.com/users/sergeyradkevich/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyradkevich/received_events","type":"User","site_admin":false},"body":"@yuriidanyliak, I think we need to get a better name for variable of carrier. `list` looks confusing on a view because it is not used as a replacement of the actual list.   ","created_at":"2015-06-08T12:13:47Z","updated_at":"2015-06-08T12:13:47Z","html_url":"https://github.com/yuriidanyliak/TaDa/pull/19#discussion_r31907892","pull_request_url":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/comments/31907892"},"html":{"href":"https://github.com/yuriidanyliak/TaDa/pull/19#discussion_r31907892"},"pull_request":{"href":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/19","id":37132586,"html_url":"https://github.com/yuriidanyliak/TaDa/pull/19","diff_url":"https://github.com/yuriidanyliak/TaDa/pull/19.diff","patch_url":"https://github.com/yuriidanyliak/TaDa/pull/19.patch","issue_url":"https://api.github.com/repos/yuriidanyliak/TaDa/issues/19","number":19,"state":"open","locked":false,"title":"A user should see invitation (note) to create a first list in case there is no list created yet","user":{"login":"yuriidanyliak","id":5655132,"avatar_url":"https://avatars.githubusercontent.com/u/5655132?v=3","gravatar_id":"","url":"https://api.github.com/users/yuriidanyliak","html_url":"https://github.com/yuriidanyliak","followers_url":"https://api.github.com/users/yuriidanyliak/followers","following_url":"https://api.github.com/users/yuriidanyliak/following{/other_user}","gists_url":"https://api.github.com/users/yuriidanyliak/gists{/gist_id}","starred_url":"https://api.github.com/users/yuriidanyliak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuriidanyliak/subscriptions","organizations_url":"https://api.github.com/users/yuriidanyliak/orgs","repos_url":"https://api.github.com/users/yuriidanyliak/repos","events_url":"https://api.github.com/users/yuriidanyliak/events{/privacy}","received_events_url":"https://api.github.com/users/yuriidanyliak/received_events","type":"User","site_admin":false},"body":"There is a need to move any view logic into a currier (view object)","created_at":"2015-06-08T08:51:03Z","updated_at":"2015-06-08T12:13:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e8e53ca5f82d0763a9a59cb76f08ca816c400da","assignee":{"login":"yuriidanyliak","id":5655132,"avatar_url":"https://avatars.githubusercontent.com/u/5655132?v=3","gravatar_id":"","url":"https://api.github.com/users/yuriidanyliak","html_url":"https://github.com/yuriidanyliak","followers_url":"https://api.github.com/users/yuriidanyliak/followers","following_url":"https://api.github.com/users/yuriidanyliak/following{/other_user}","gists_url":"https://api.github.com/users/yuriidanyliak/gists{/gist_id}","starred_url":"https://api.github.com/users/yuriidanyliak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuriidanyliak/subscriptions","organizations_url":"https://api.github.com/users/yuriidanyliak/orgs","repos_url":"https://api.github.com/users/yuriidanyliak/repos","events_url":"https://api.github.com/users/yuriidanyliak/events{/privacy}","received_events_url":"https://api.github.com/users/yuriidanyliak/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/yuriidanyliak/TaDa/milestones/4","html_url":"https://github.com/yuriidanyliak/TaDa/milestones/Sprint%20%235","labels_url":"https://api.github.com/repos/yuriidanyliak/TaDa/milestones/4/labels","id":1150887,"number":4,"title":"Sprint #5","description":"","creator":{"login":"yuriidanyliak","id":5655132,"avatar_url":"https://avatars.githubusercontent.com/u/5655132?v=3","gravatar_id":"","url":"https://api.github.com/users/yuriidanyliak","html_url":"https://github.com/yuriidanyliak","followers_url":"https://api.github.com/users/yuriidanyliak/followers","following_url":"https://api.github.com/users/yuriidanyliak/following{/other_user}","gists_url":"https://api.github.com/users/yuriidanyliak/gists{/gist_id}","starred_url":"https://api.github.com/users/yuriidanyliak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuriidanyliak/subscriptions","organizations_url":"https://api.github.com/users/yuriidanyliak/orgs","repos_url":"https://api.github.com/users/yuriidanyliak/repos","events_url":"https://api.github.com/users/yuriidanyliak/events{/privacy}","received_events_url":"https://api.github.com/users/yuriidanyliak/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-06-05T09:24:23Z","updated_at":"2015-06-08T11:13:10Z","due_on":"2015-06-11T21:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/19/commits","review_comments_url":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/19/comments","review_comment_url":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yuriidanyliak/TaDa/issues/19/comments","statuses_url":"https://api.github.com/repos/yuriidanyliak/TaDa/statuses/d2c625585fa1f59bf49cf6114fdf269910acf39a","head":{"label":"yuriidanyliak:view-objects-using","ref":"view-objects-using","sha":"d2c625585fa1f59bf49cf6114fdf269910acf39a","user":{"login":"yuriidanyliak","id":5655132,"avatar_url":"https://avatars.githubusercontent.com/u/5655132?v=3","gravatar_id":"","url":"https://api.github.com/users/yuriidanyliak","html_url":"https://github.com/yuriidanyliak","followers_url":"https://api.github.com/users/yuriidanyliak/followers","following_url":"https://api.github.com/users/yuriidanyliak/following{/other_user}","gists_url":"https://api.github.com/users/yuriidanyliak/gists{/gist_id}","starred_url":"https://api.github.com/users/yuriidanyliak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuriidanyliak/subscriptions","organizations_url":"https://api.github.com/users/yuriidanyliak/orgs","repos_url":"https://api.github.com/users/yuriidanyliak/repos","events_url":"https://api.github.com/users/yuriidanyliak/events{/privacy}","received_events_url":"https://api.github.com/users/yuriidanyliak/received_events","type":"User","site_admin":false},"repo":{"id":34806835,"name":"TaDa","full_name":"yuriidanyliak/TaDa","owner":{"login":"yuriidanyliak","id":5655132,"avatar_url":"https://avatars.githubusercontent.com/u/5655132?v=3","gravatar_id":"","url":"https://api.github.com/users/yuriidanyliak","html_url":"https://github.com/yuriidanyliak","followers_url":"https://api.github.com/users/yuriidanyliak/followers","following_url":"https://api.github.com/users/yuriidanyliak/following{/other_user}","gists_url":"https://api.github.com/users/yuriidanyliak/gists{/gist_id}","starred_url":"https://api.github.com/users/yuriidanyliak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuriidanyliak/subscriptions","organizations_url":"https://api.github.com/users/yuriidanyliak/orgs","repos_url":"https://api.github.com/users/yuriidanyliak/repos","events_url":"https://api.github.com/users/yuriidanyliak/events{/privacy}","received_events_url":"https://api.github.com/users/yuriidanyliak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuriidanyliak/TaDa","description":"","fork":false,"url":"https://api.github.com/repos/yuriidanyliak/TaDa","forks_url":"https://api.github.com/repos/yuriidanyliak/TaDa/forks","keys_url":"https://api.github.com/repos/yuriidanyliak/TaDa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuriidanyliak/TaDa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuriidanyliak/TaDa/teams","hooks_url":"https://api.github.com/repos/yuriidanyliak/TaDa/hooks","issue_events_url":"https://api.github.com/repos/yuriidanyliak/TaDa/issues/events{/number}","events_url":"https://api.github.com/repos/yuriidanyliak/TaDa/events","assignees_url":"https://api.github.com/repos/yuriidanyliak/TaDa/assignees{/user}","branches_url":"https://api.github.com/repos/yuriidanyliak/TaDa/branches{/branch}","tags_url":"https://api.github.com/repos/yuriidanyliak/TaDa/tags","blobs_url":"https://api.github.com/repos/yuriidanyliak/TaDa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuriidanyliak/TaDa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuriidanyliak/TaDa/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuriidanyliak/TaDa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuriidanyliak/TaDa/statuses/{sha}","languages_url":"https://api.github.com/repos/yuriidanyliak/TaDa/languages","stargazers_url":"https://api.github.com/repos/yuriidanyliak/TaDa/stargazers","contributors_url":"https://api.github.com/repos/yuriidanyliak/TaDa/contributors","subscribers_url":"https://api.github.com/repos/yuriidanyliak/TaDa/subscribers","subscription_url":"https://api.github.com/repos/yuriidanyliak/TaDa/subscription","commits_url":"https://api.github.com/repos/yuriidanyliak/TaDa/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuriidanyliak/TaDa/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuriidanyliak/TaDa/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuriidanyliak/TaDa/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuriidanyliak/TaDa/contents/{+path}","compare_url":"https://api.github.com/repos/yuriidanyliak/TaDa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuriidanyliak/TaDa/merges","archive_url":"https://api.github.com/repos/yuriidanyliak/TaDa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuriidanyliak/TaDa/downloads","issues_url":"https://api.github.com/repos/yuriidanyliak/TaDa/issues{/number}","pulls_url":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls{/number}","milestones_url":"https://api.github.com/repos/yuriidanyliak/TaDa/milestones{/number}","notifications_url":"https://api.github.com/repos/yuriidanyliak/TaDa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuriidanyliak/TaDa/labels{/name}","releases_url":"https://api.github.com/repos/yuriidanyliak/TaDa/releases{/id}","created_at":"2015-04-29T17:06:22Z","updated_at":"2015-05-27T09:52:13Z","pushed_at":"2015-06-08T10:44:28Z","git_url":"git://github.com/yuriidanyliak/TaDa.git","ssh_url":"git@github.com:yuriidanyliak/TaDa.git","clone_url":"https://github.com/yuriidanyliak/TaDa.git","svn_url":"https://github.com/yuriidanyliak/TaDa","homepage":null,"size":3652,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"yuriidanyliak:master","ref":"master","sha":"01a12126881425bbf69995c99eeba15dcbe3fea1","user":{"login":"yuriidanyliak","id":5655132,"avatar_url":"https://avatars.githubusercontent.com/u/5655132?v=3","gravatar_id":"","url":"https://api.github.com/users/yuriidanyliak","html_url":"https://github.com/yuriidanyliak","followers_url":"https://api.github.com/users/yuriidanyliak/followers","following_url":"https://api.github.com/users/yuriidanyliak/following{/other_user}","gists_url":"https://api.github.com/users/yuriidanyliak/gists{/gist_id}","starred_url":"https://api.github.com/users/yuriidanyliak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuriidanyliak/subscriptions","organizations_url":"https://api.github.com/users/yuriidanyliak/orgs","repos_url":"https://api.github.com/users/yuriidanyliak/repos","events_url":"https://api.github.com/users/yuriidanyliak/events{/privacy}","received_events_url":"https://api.github.com/users/yuriidanyliak/received_events","type":"User","site_admin":false},"repo":{"id":34806835,"name":"TaDa","full_name":"yuriidanyliak/TaDa","owner":{"login":"yuriidanyliak","id":5655132,"avatar_url":"https://avatars.githubusercontent.com/u/5655132?v=3","gravatar_id":"","url":"https://api.github.com/users/yuriidanyliak","html_url":"https://github.com/yuriidanyliak","followers_url":"https://api.github.com/users/yuriidanyliak/followers","following_url":"https://api.github.com/users/yuriidanyliak/following{/other_user}","gists_url":"https://api.github.com/users/yuriidanyliak/gists{/gist_id}","starred_url":"https://api.github.com/users/yuriidanyliak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuriidanyliak/subscriptions","organizations_url":"https://api.github.com/users/yuriidanyliak/orgs","repos_url":"https://api.github.com/users/yuriidanyliak/repos","events_url":"https://api.github.com/users/yuriidanyliak/events{/privacy}","received_events_url":"https://api.github.com/users/yuriidanyliak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuriidanyliak/TaDa","description":"","fork":false,"url":"https://api.github.com/repos/yuriidanyliak/TaDa","forks_url":"https://api.github.com/repos/yuriidanyliak/TaDa/forks","keys_url":"https://api.github.com/repos/yuriidanyliak/TaDa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuriidanyliak/TaDa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuriidanyliak/TaDa/teams","hooks_url":"https://api.github.com/repos/yuriidanyliak/TaDa/hooks","issue_events_url":"https://api.github.com/repos/yuriidanyliak/TaDa/issues/events{/number}","events_url":"https://api.github.com/repos/yuriidanyliak/TaDa/events","assignees_url":"https://api.github.com/repos/yuriidanyliak/TaDa/assignees{/user}","branches_url":"https://api.github.com/repos/yuriidanyliak/TaDa/branches{/branch}","tags_url":"https://api.github.com/repos/yuriidanyliak/TaDa/tags","blobs_url":"https://api.github.com/repos/yuriidanyliak/TaDa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuriidanyliak/TaDa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuriidanyliak/TaDa/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuriidanyliak/TaDa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuriidanyliak/TaDa/statuses/{sha}","languages_url":"https://api.github.com/repos/yuriidanyliak/TaDa/languages","stargazers_url":"https://api.github.com/repos/yuriidanyliak/TaDa/stargazers","contributors_url":"https://api.github.com/repos/yuriidanyliak/TaDa/contributors","subscribers_url":"https://api.github.com/repos/yuriidanyliak/TaDa/subscribers","subscription_url":"https://api.github.com/repos/yuriidanyliak/TaDa/subscription","commits_url":"https://api.github.com/repos/yuriidanyliak/TaDa/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuriidanyliak/TaDa/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuriidanyliak/TaDa/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuriidanyliak/TaDa/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuriidanyliak/TaDa/contents/{+path}","compare_url":"https://api.github.com/repos/yuriidanyliak/TaDa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuriidanyliak/TaDa/merges","archive_url":"https://api.github.com/repos/yuriidanyliak/TaDa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuriidanyliak/TaDa/downloads","issues_url":"https://api.github.com/repos/yuriidanyliak/TaDa/issues{/number}","pulls_url":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls{/number}","milestones_url":"https://api.github.com/repos/yuriidanyliak/TaDa/milestones{/number}","notifications_url":"https://api.github.com/repos/yuriidanyliak/TaDa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuriidanyliak/TaDa/labels{/name}","releases_url":"https://api.github.com/repos/yuriidanyliak/TaDa/releases{/id}","created_at":"2015-04-29T17:06:22Z","updated_at":"2015-05-27T09:52:13Z","pushed_at":"2015-06-08T10:44:28Z","git_url":"git://github.com/yuriidanyliak/TaDa.git","ssh_url":"git@github.com:yuriidanyliak/TaDa.git","clone_url":"https://github.com/yuriidanyliak/TaDa.git","svn_url":"https://github.com/yuriidanyliak/TaDa","homepage":null,"size":3652,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/yuriidanyliak/TaDa/pulls/19"},"html":{"href":"https://github.com/yuriidanyliak/TaDa/pull/19"},"issue":{"href":"https://api.github.com/repos/yuriidanyliak/TaDa/issues/19"},"comments":{"href":"https://api.github.com/repos/yuriidanyliak/TaDa/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yuriidanyliak/TaDa/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/yuriidanyliak/TaDa/statuses/d2c625585fa1f59bf49cf6114fdf269910acf39a"}}}}