{"action":"created","comment":{"url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/comments/30986980","id":30986980,"diff_hunk":"@@ -0,0 +1,15 @@\n+<h1>Edit The Movie</h1>\n+\n+<% form_for @movie, url_for(:movies, :update, id: @movie.id) do |m| %>\n+  <% if @movie.errors.present? %>\n+    <h3>Ya dun made a stupid</h3>\n+    <ul>\n+      <% @movie.errors.full_messages.each do |error| %>\n+        <li><%= error %></li>\n+      <% end %>\n+    </ul>\n+  <% end %>\n+  <%= m.text_field_block(:name, class: 'typing_text') %>","path":"app/views/movies/edit.erb","position":12,"original_position":12,"commit_id":"5f39a96f66fe8b51f4e32dfc81ddbba63226bbd8","original_commit_id":"5f39a96f66fe8b51f4e32dfc81ddbba63226bbd8","user":{"login":"benlovell","id":41963,"avatar_url":"https://avatars.githubusercontent.com/u/41963?v=3","gravatar_id":"","url":"https://api.github.com/users/benlovell","html_url":"https://github.com/benlovell","followers_url":"https://api.github.com/users/benlovell/followers","following_url":"https://api.github.com/users/benlovell/following{/other_user}","gists_url":"https://api.github.com/users/benlovell/gists{/gist_id}","starred_url":"https://api.github.com/users/benlovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlovell/subscriptions","organizations_url":"https://api.github.com/users/benlovell/orgs","repos_url":"https://api.github.com/users/benlovell/repos","events_url":"https://api.github.com/users/benlovell/events{/privacy}","received_events_url":"https://api.github.com/users/benlovell/received_events","type":"User","site_admin":false},"body":"These fields are common both here and in `new.erb` investigate the `partial` helper/concept to help you reduce this.","created_at":"2015-05-25T16:24:54Z","updated_at":"2015-05-25T16:24:54Z","html_url":"https://github.com/wegotcoders/imdb_knockoff/pull/9#discussion_r30986980","pull_request_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/comments/30986980"},"html":{"href":"https://github.com/wegotcoders/imdb_knockoff/pull/9#discussion_r30986980"},"pull_request":{"href":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/9","id":36124507,"html_url":"https://github.com/wegotcoders/imdb_knockoff/pull/9","diff_url":"https://github.com/wegotcoders/imdb_knockoff/pull/9.diff","patch_url":"https://github.com/wegotcoders/imdb_knockoff/pull/9.patch","issue_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/issues/9","number":9,"state":"open","locked":false,"title":"IMDB Knockoff Exercise","user":{"login":"alexmalik","id":10272865,"avatar_url":"https://avatars.githubusercontent.com/u/10272865?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmalik","html_url":"https://github.com/alexmalik","followers_url":"https://api.github.com/users/alexmalik/followers","following_url":"https://api.github.com/users/alexmalik/following{/other_user}","gists_url":"https://api.github.com/users/alexmalik/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmalik/subscriptions","organizations_url":"https://api.github.com/users/alexmalik/orgs","repos_url":"https://api.github.com/users/alexmalik/repos","events_url":"https://api.github.com/users/alexmalik/events{/privacy}","received_events_url":"https://api.github.com/users/alexmalik/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-25T08:21:56Z","updated_at":"2015-05-25T16:24:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/9/commits","review_comments_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/9/comments","review_comment_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/issues/9/comments","statuses_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/statuses/5f39a96f66fe8b51f4e32dfc81ddbba63226bbd8","head":{"label":"alexmalik:sessions","ref":"sessions","sha":"5f39a96f66fe8b51f4e32dfc81ddbba63226bbd8","user":{"login":"alexmalik","id":10272865,"avatar_url":"https://avatars.githubusercontent.com/u/10272865?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmalik","html_url":"https://github.com/alexmalik","followers_url":"https://api.github.com/users/alexmalik/followers","following_url":"https://api.github.com/users/alexmalik/following{/other_user}","gists_url":"https://api.github.com/users/alexmalik/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmalik/subscriptions","organizations_url":"https://api.github.com/users/alexmalik/orgs","repos_url":"https://api.github.com/users/alexmalik/repos","events_url":"https://api.github.com/users/alexmalik/events{/privacy}","received_events_url":"https://api.github.com/users/alexmalik/received_events","type":"User","site_admin":false},"repo":{"id":35959421,"name":"imdb_knockoff","full_name":"alexmalik/imdb_knockoff","owner":{"login":"alexmalik","id":10272865,"avatar_url":"https://avatars.githubusercontent.com/u/10272865?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmalik","html_url":"https://github.com/alexmalik","followers_url":"https://api.github.com/users/alexmalik/followers","following_url":"https://api.github.com/users/alexmalik/following{/other_user}","gists_url":"https://api.github.com/users/alexmalik/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmalik/subscriptions","organizations_url":"https://api.github.com/users/alexmalik/orgs","repos_url":"https://api.github.com/users/alexmalik/repos","events_url":"https://api.github.com/users/alexmalik/events{/privacy}","received_events_url":"https://api.github.com/users/alexmalik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexmalik/imdb_knockoff","description":"Our demo IMDB ratings project","fork":true,"url":"https://api.github.com/repos/alexmalik/imdb_knockoff","forks_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/forks","keys_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/teams","hooks_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/hooks","issue_events_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/issues/events{/number}","events_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/events","assignees_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/assignees{/user}","branches_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/branches{/branch}","tags_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/tags","blobs_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/statuses/{sha}","languages_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/languages","stargazers_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/stargazers","contributors_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/contributors","subscribers_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/subscribers","subscription_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/subscription","commits_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/contents/{+path}","compare_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/merges","archive_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/downloads","issues_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/issues{/number}","pulls_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/pulls{/number}","milestones_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/milestones{/number}","notifications_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/labels{/name}","releases_url":"https://api.github.com/repos/alexmalik/imdb_knockoff/releases{/id}","created_at":"2015-05-20T16:15:48Z","updated_at":"2015-05-20T16:15:49Z","pushed_at":"2015-05-25T08:16:14Z","git_url":"git://github.com/alexmalik/imdb_knockoff.git","ssh_url":"git@github.com:alexmalik/imdb_knockoff.git","clone_url":"https://github.com/alexmalik/imdb_knockoff.git","svn_url":"https://github.com/alexmalik/imdb_knockoff","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wegotcoders:sessions","ref":"sessions","sha":"a4d685b9886bca7889cf90aaba96cdea51b1ee14","user":{"login":"wegotcoders","id":5376033,"avatar_url":"https://avatars.githubusercontent.com/u/5376033?v=3","gravatar_id":"","url":"https://api.github.com/users/wegotcoders","html_url":"https://github.com/wegotcoders","followers_url":"https://api.github.com/users/wegotcoders/followers","following_url":"https://api.github.com/users/wegotcoders/following{/other_user}","gists_url":"https://api.github.com/users/wegotcoders/gists{/gist_id}","starred_url":"https://api.github.com/users/wegotcoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wegotcoders/subscriptions","organizations_url":"https://api.github.com/users/wegotcoders/orgs","repos_url":"https://api.github.com/users/wegotcoders/repos","events_url":"https://api.github.com/users/wegotcoders/events{/privacy}","received_events_url":"https://api.github.com/users/wegotcoders/received_events","type":"Organization","site_admin":false},"repo":{"id":35959278,"name":"imdb_knockoff","full_name":"wegotcoders/imdb_knockoff","owner":{"login":"wegotcoders","id":5376033,"avatar_url":"https://avatars.githubusercontent.com/u/5376033?v=3","gravatar_id":"","url":"https://api.github.com/users/wegotcoders","html_url":"https://github.com/wegotcoders","followers_url":"https://api.github.com/users/wegotcoders/followers","following_url":"https://api.github.com/users/wegotcoders/following{/other_user}","gists_url":"https://api.github.com/users/wegotcoders/gists{/gist_id}","starred_url":"https://api.github.com/users/wegotcoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wegotcoders/subscriptions","organizations_url":"https://api.github.com/users/wegotcoders/orgs","repos_url":"https://api.github.com/users/wegotcoders/repos","events_url":"https://api.github.com/users/wegotcoders/events{/privacy}","received_events_url":"https://api.github.com/users/wegotcoders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wegotcoders/imdb_knockoff","description":"Our demo IMDB ratings project","fork":false,"url":"https://api.github.com/repos/wegotcoders/imdb_knockoff","forks_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/forks","keys_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/teams","hooks_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/hooks","issue_events_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/issues/events{/number}","events_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/events","assignees_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/assignees{/user}","branches_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/branches{/branch}","tags_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/tags","blobs_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/git/refs{/sha}","trees_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/statuses/{sha}","languages_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/languages","stargazers_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/stargazers","contributors_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/contributors","subscribers_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/subscribers","subscription_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/subscription","commits_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/commits{/sha}","git_commits_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/git/commits{/sha}","comments_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/comments{/number}","issue_comment_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/issues/comments{/number}","contents_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/contents/{+path}","compare_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/merges","archive_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/downloads","issues_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/issues{/number}","pulls_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls{/number}","milestones_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/milestones{/number}","notifications_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/labels{/name}","releases_url":"https://api.github.com/repos/wegotcoders/imdb_knockoff/releases{/id}","created_at":"2015-05-20T16:13:08Z","updated_at":"2015-05-20T16:14:09Z","pushed_at":"2015-05-25T16:17:47Z","git_url":"git://github.com/wegotcoders/imdb_knockoff.git","ssh_url":"git@github.com:wegotcoders/imdb_knockoff.git","clone_url":"https://github.com/wegotcoders/imdb_knockoff.git","svn_url":"https://github.com/wegotcoders/imdb_knockoff","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":9,"forks":8,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/9"},"html":{"href":"https://github.com/wegotcoders/imdb_knockoff/pull/9"},"issue":{"href":"https://api.github.com/repos/wegotcoders/imdb_knockoff/issues/9"},"comments":{"href":"https://api.github.com/repos/wegotcoders/imdb_knockoff/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wegotcoders/imdb_knockoff/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/wegotcoders/imdb_knockoff/statuses/5f39a96f66fe8b51f4e32dfc81ddbba63226bbd8"}}}}