{"action":"created","comment":{"url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/comments/90772155","pull_request_review_id":11290008,"id":90772155,"diff_hunk":"@@ -99,9 +99,15 @@ def activity\n   end\n \n   before_save do\n-    if status_changed? && status == :completed && media.progress_cap\n+    if status_changed? && status == 'completed' && media.progress_limit","path":"app/models/library_entry.rb","position":null,"original_position":16,"commit_id":"16bd84b8931157046b041dc25cca5fccf8638a26","original_commit_id":"91e4119a47a4c01b8020dc2596019431963430cb","user":{"login":"toyhammered","id":1283983,"avatar_url":"https://avatars.githubusercontent.com/u/1283983?v=3","gravatar_id":"","url":"https://api.github.com/users/toyhammered","html_url":"https://github.com/toyhammered","followers_url":"https://api.github.com/users/toyhammered/followers","following_url":"https://api.github.com/users/toyhammered/following{/other_user}","gists_url":"https://api.github.com/users/toyhammered/gists{/gist_id}","starred_url":"https://api.github.com/users/toyhammered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toyhammered/subscriptions","organizations_url":"https://api.github.com/users/toyhammered/orgs","repos_url":"https://api.github.com/users/toyhammered/repos","events_url":"https://api.github.com/users/toyhammered/events{/privacy}","received_events_url":"https://api.github.com/users/toyhammered/received_events","type":"User","site_admin":false},"body":"nvm you were right I thought it would need to know the column name to reference (ie: status) but I guess it is smarter than me 😏 ","created_at":"2016-12-04T07:21:31Z","updated_at":"2016-12-04T07:21:31Z","html_url":"https://github.com/hummingbird-me/hummingbird-server/pull/19#discussion_r90772155","pull_request_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/comments/90772155"},"html":{"href":"https://github.com/hummingbird-me/hummingbird-server/pull/19#discussion_r90772155"},"pull_request":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/19","id":96421875,"html_url":"https://github.com/hummingbird-me/hummingbird-server/pull/19","diff_url":"https://github.com/hummingbird-me/hummingbird-server/pull/19.diff","patch_url":"https://github.com/hummingbird-me/hummingbird-server/pull/19.patch","issue_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/19","number":19,"state":"open","locked":false,"title":"move media to correct status and set progess_limit correctly","user":{"login":"toyhammered","id":1283983,"avatar_url":"https://avatars.githubusercontent.com/u/1283983?v=3","gravatar_id":"","url":"https://api.github.com/users/toyhammered","html_url":"https://github.com/toyhammered","followers_url":"https://api.github.com/users/toyhammered/followers","following_url":"https://api.github.com/users/toyhammered/following{/other_user}","gists_url":"https://api.github.com/users/toyhammered/gists{/gist_id}","starred_url":"https://api.github.com/users/toyhammered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toyhammered/subscriptions","organizations_url":"https://api.github.com/users/toyhammered/orgs","repos_url":"https://api.github.com/users/toyhammered/repos","events_url":"https://api.github.com/users/toyhammered/events{/privacy}","received_events_url":"https://api.github.com/users/toyhammered/received_events","type":"User","site_admin":false},"body":"Ajax still needs to be fixed to remove it from the list (if we do this) when the status is changed.\r\n\r\nI am also not sure why `status == :completed` does not work, so just changed to a string.","created_at":"2016-12-04T05:14:03Z","updated_at":"2016-12-04T07:21:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"167cb7f94fb04882f999ed81adf526b1589ee239","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/19/commits","review_comments_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/19/comments","review_comment_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/19/comments","statuses_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/statuses/16bd84b8931157046b041dc25cca5fccf8638a26","head":{"label":"toyhammered:anime-complete-bug","ref":"anime-complete-bug","sha":"16bd84b8931157046b041dc25cca5fccf8638a26","user":{"login":"toyhammered","id":1283983,"avatar_url":"https://avatars.githubusercontent.com/u/1283983?v=3","gravatar_id":"","url":"https://api.github.com/users/toyhammered","html_url":"https://github.com/toyhammered","followers_url":"https://api.github.com/users/toyhammered/followers","following_url":"https://api.github.com/users/toyhammered/following{/other_user}","gists_url":"https://api.github.com/users/toyhammered/gists{/gist_id}","starred_url":"https://api.github.com/users/toyhammered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toyhammered/subscriptions","organizations_url":"https://api.github.com/users/toyhammered/orgs","repos_url":"https://api.github.com/users/toyhammered/repos","events_url":"https://api.github.com/users/toyhammered/events{/privacy}","received_events_url":"https://api.github.com/users/toyhammered/received_events","type":"User","site_admin":false},"repo":{"id":70123540,"name":"hummingbird-server","full_name":"toyhammered/hummingbird-server","owner":{"login":"toyhammered","id":1283983,"avatar_url":"https://avatars.githubusercontent.com/u/1283983?v=3","gravatar_id":"","url":"https://api.github.com/users/toyhammered","html_url":"https://github.com/toyhammered","followers_url":"https://api.github.com/users/toyhammered/followers","following_url":"https://api.github.com/users/toyhammered/following{/other_user}","gists_url":"https://api.github.com/users/toyhammered/gists{/gist_id}","starred_url":"https://api.github.com/users/toyhammered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toyhammered/subscriptions","organizations_url":"https://api.github.com/users/toyhammered/orgs","repos_url":"https://api.github.com/users/toyhammered/repos","events_url":"https://api.github.com/users/toyhammered/events{/privacy}","received_events_url":"https://api.github.com/users/toyhammered/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toyhammered/hummingbird-server","description":"Rails API server for Hummingbird.me","fork":true,"url":"https://api.github.com/repos/toyhammered/hummingbird-server","forks_url":"https://api.github.com/repos/toyhammered/hummingbird-server/forks","keys_url":"https://api.github.com/repos/toyhammered/hummingbird-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toyhammered/hummingbird-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toyhammered/hummingbird-server/teams","hooks_url":"https://api.github.com/repos/toyhammered/hummingbird-server/hooks","issue_events_url":"https://api.github.com/repos/toyhammered/hummingbird-server/issues/events{/number}","events_url":"https://api.github.com/repos/toyhammered/hummingbird-server/events","assignees_url":"https://api.github.com/repos/toyhammered/hummingbird-server/assignees{/user}","branches_url":"https://api.github.com/repos/toyhammered/hummingbird-server/branches{/branch}","tags_url":"https://api.github.com/repos/toyhammered/hummingbird-server/tags","blobs_url":"https://api.github.com/repos/toyhammered/hummingbird-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toyhammered/hummingbird-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toyhammered/hummingbird-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/toyhammered/hummingbird-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toyhammered/hummingbird-server/statuses/{sha}","languages_url":"https://api.github.com/repos/toyhammered/hummingbird-server/languages","stargazers_url":"https://api.github.com/repos/toyhammered/hummingbird-server/stargazers","contributors_url":"https://api.github.com/repos/toyhammered/hummingbird-server/contributors","subscribers_url":"https://api.github.com/repos/toyhammered/hummingbird-server/subscribers","subscription_url":"https://api.github.com/repos/toyhammered/hummingbird-server/subscription","commits_url":"https://api.github.com/repos/toyhammered/hummingbird-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/toyhammered/hummingbird-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/toyhammered/hummingbird-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/toyhammered/hummingbird-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/toyhammered/hummingbird-server/contents/{+path}","compare_url":"https://api.github.com/repos/toyhammered/hummingbird-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toyhammered/hummingbird-server/merges","archive_url":"https://api.github.com/repos/toyhammered/hummingbird-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toyhammered/hummingbird-server/downloads","issues_url":"https://api.github.com/repos/toyhammered/hummingbird-server/issues{/number}","pulls_url":"https://api.github.com/repos/toyhammered/hummingbird-server/pulls{/number}","milestones_url":"https://api.github.com/repos/toyhammered/hummingbird-server/milestones{/number}","notifications_url":"https://api.github.com/repos/toyhammered/hummingbird-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toyhammered/hummingbird-server/labels{/name}","releases_url":"https://api.github.com/repos/toyhammered/hummingbird-server/releases{/id}","deployments_url":"https://api.github.com/repos/toyhammered/hummingbird-server/deployments","created_at":"2016-10-06T04:46:43Z","updated_at":"2016-10-06T04:46:44Z","pushed_at":"2016-12-04T07:19:18Z","git_url":"git://github.com/toyhammered/hummingbird-server.git","ssh_url":"git@github.com:toyhammered/hummingbird-server.git","clone_url":"https://github.com/toyhammered/hummingbird-server.git","svn_url":"https://github.com/toyhammered/hummingbird-server","homepage":null,"size":1510,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"the-future"}},"base":{"label":"hummingbird-me:the-future","ref":"the-future","sha":"66c0a36eff566d91f5946864817c5e9f938dc3e4","user":{"login":"hummingbird-me","id":7648832,"avatar_url":"https://avatars.githubusercontent.com/u/7648832?v=3","gravatar_id":"","url":"https://api.github.com/users/hummingbird-me","html_url":"https://github.com/hummingbird-me","followers_url":"https://api.github.com/users/hummingbird-me/followers","following_url":"https://api.github.com/users/hummingbird-me/following{/other_user}","gists_url":"https://api.github.com/users/hummingbird-me/gists{/gist_id}","starred_url":"https://api.github.com/users/hummingbird-me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hummingbird-me/subscriptions","organizations_url":"https://api.github.com/users/hummingbird-me/orgs","repos_url":"https://api.github.com/users/hummingbird-me/repos","events_url":"https://api.github.com/users/hummingbird-me/events{/privacy}","received_events_url":"https://api.github.com/users/hummingbird-me/received_events","type":"Organization","site_admin":false},"repo":{"id":68339720,"name":"hummingbird-server","full_name":"hummingbird-me/hummingbird-server","owner":{"login":"hummingbird-me","id":7648832,"avatar_url":"https://avatars.githubusercontent.com/u/7648832?v=3","gravatar_id":"","url":"https://api.github.com/users/hummingbird-me","html_url":"https://github.com/hummingbird-me","followers_url":"https://api.github.com/users/hummingbird-me/followers","following_url":"https://api.github.com/users/hummingbird-me/following{/other_user}","gists_url":"https://api.github.com/users/hummingbird-me/gists{/gist_id}","starred_url":"https://api.github.com/users/hummingbird-me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hummingbird-me/subscriptions","organizations_url":"https://api.github.com/users/hummingbird-me/orgs","repos_url":"https://api.github.com/users/hummingbird-me/repos","events_url":"https://api.github.com/users/hummingbird-me/events{/privacy}","received_events_url":"https://api.github.com/users/hummingbird-me/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hummingbird-me/hummingbird-server","description":":steam_locomotive: Rails API server for Hummingbird.me","fork":false,"url":"https://api.github.com/repos/hummingbird-me/hummingbird-server","forks_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/forks","keys_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/teams","hooks_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/hooks","issue_events_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/events{/number}","events_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/events","assignees_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/assignees{/user}","branches_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/branches{/branch}","tags_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/tags","blobs_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/statuses/{sha}","languages_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/languages","stargazers_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/stargazers","contributors_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/contributors","subscribers_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/subscribers","subscription_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/subscription","commits_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/contents/{+path}","compare_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/merges","archive_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/downloads","issues_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues{/number}","pulls_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls{/number}","milestones_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/milestones{/number}","notifications_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/labels{/name}","releases_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/releases{/id}","deployments_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/deployments","created_at":"2016-09-15T23:36:19Z","updated_at":"2016-12-02T11:41:44Z","pushed_at":"2016-12-04T07:19:18Z","git_url":"git://github.com/hummingbird-me/hummingbird-server.git","ssh_url":"git@github.com:hummingbird-me/hummingbird-server.git","clone_url":"https://github.com/hummingbird-me/hummingbird-server.git","svn_url":"https://github.com/hummingbird-me/hummingbird-server","homepage":"","size":1598,"stargazers_count":17,"watchers_count":17,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":6,"forks":24,"open_issues":6,"watchers":17,"default_branch":"the-future"}},"_links":{"self":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/19"},"html":{"href":"https://github.com/hummingbird-me/hummingbird-server/pull/19"},"issue":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/19"},"comments":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/statuses/16bd84b8931157046b041dc25cca5fccf8638a26"}}}}
{"actor":{"display_login":"toyhammered"}}