GitHub PullRequestReviewCommentEvent at 2014-12-16 18:20:04
Repository: myflix
Actor: brandoncc
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Frenzy277/myflix/pulls/comments/21919091","id":21919091,"diff_hunk":"@@ -5,10 +5,11 @@ class User < ActiveRecord::Base\n   has_many :following_relationships, class_name: \"Relationship\", foreign_key: :follower_id\n   has_many :leading_relationships, class_name: \"Relationship\" , foreign_key: :leader_id\n \n-  before_create { |user| user.email = user.email.downcase }\n+  before_create { |user| user.email = user.email.downcase }  ","path":"app/models/user.rb","position":5,"original_position":5,"commit_id":"4ab81f295da7ca46be0ec9ab6dbf2fb512d58350","original_commit_id":"4ab81f295da7ca46be0ec9ab6dbf2fb512d58350","user":{"login":"brandoncc","id":543973,"avatar_url":"https://avatars.githubusercontent.com/u/543973?v=3","gravatar_id":"","url":"https://api.github.com/users/brandoncc","html_url":"https://github.com/brandoncc","followers_url":"https://api.github.com/users/brandoncc/followers","following_url":"https://api.github.com/users/brandoncc/following{/other_user}","gists_url":"https://api.github.com/users/brandoncc/gists{/gist_id}","starred_url":"https://api.github.com/users/brandoncc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandoncc/subscriptions","organizations_url":"https://api.github.com/users/brandoncc/orgs","repos_url":"https://api.github.com/users/brandoncc/repos","events_url":"https://api.github.com/users/brandoncc/events{/privacy}","received_events_url":"https://api.github.com/users/brandoncc/received_events","type":"User","site_admin":false},"body":"You generally don't want to modify a user's input permanently. If you want to use a downcased version of their input, I would recommend calling downcase in your code at the time you want to use it, not when storing the input.","created_at":"2014-12-16T18:20:04Z","updated_at":"2014-12-16T18:20:04Z","html_url":"https://github.com/Frenzy277/myflix/pull/13#discussion_r21919091","pull_request_url":"https://api.github.com/repos/Frenzy277/myflix/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/Frenzy277/myflix/pulls/comments/21919091"},"html":{"href":"https://github.com/Frenzy277/myflix/pull/13#discussion_r21919091"},"pull_request":{"href":"https://api.github.com/repos/Frenzy277/myflix/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/Frenzy277/myflix/pulls/13","id":26157835,"html_url":"https://github.com/Frenzy277/myflix/pull/13","diff_url":"https://github.com/Frenzy277/myflix/pull/13.diff","patch_url":"https://github.com/Frenzy277/myflix/pull/13.patch","issue_url":"https://api.github.com/repos/Frenzy277/myflix/issues/13","number":13,"state":"open","locked":false,"title":"Password reset","user":{"login":"Frenzy277","id":7385469,"avatar_url":"https://avatars.githubusercontent.com/u/7385469?v=3","gravatar_id":"","url":"https://api.github.com/users/Frenzy277","html_url":"https://github.com/Frenzy277","followers_url":"https://api.github.com/users/Frenzy277/followers","following_url":"https://api.github.com/users/Frenzy277/following{/other_user}","gists_url":"https://api.github.com/users/Frenzy277/gists{/gist_id}","starred_url":"https://api.github.com/users/Frenzy277/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frenzy277/subscriptions","organizations_url":"https://api.github.com/users/Frenzy277/orgs","repos_url":"https://api.github.com/users/Frenzy277/repos","events_url":"https://api.github.com/users/Frenzy277/events{/privacy}","received_events_url":"https://api.github.com/users/Frenzy277/received_events","type":"User","site_admin":false},"body":"1) add PasswordResetController\r\n2) add views for PasswordResetController\r\n3) add specs for PasswordResetController\r\n4) add code for PasswordResetController\r\n5) add validation on password length\r\n\r\nPlease approve.","created_at":"2014-12-16T16:14:27Z","updated_at":"2014-12-16T18:20:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"039fed195ba8fb9cfd772662b8a92cca4862734f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Frenzy277/myflix/pulls/13/commits","review_comments_url":"https://api.github.com/repos/Frenzy277/myflix/pulls/13/comments","review_comment_url":"https://api.github.com/repos/Frenzy277/myflix/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Frenzy277/myflix/issues/13/comments","statuses_url":"https://api.github.com/repos/Frenzy277/myflix/statuses/4ab81f295da7ca46be0ec9ab6dbf2fb512d58350","head":{"label":"Frenzy277:password_reset","ref":"password_reset","sha":"4ab81f295da7ca46be0ec9ab6dbf2fb512d58350","user":{"login":"Frenzy277","id":7385469,"avatar_url":"https://avatars.githubusercontent.com/u/7385469?v=3","gravatar_id":"","url":"https://api.github.com/users/Frenzy277","html_url":"https://github.com/Frenzy277","followers_url":"https://api.github.com/users/Frenzy277/followers","following_url":"https://api.github.com/users/Frenzy277/following{/other_user}","gists_url":"https://api.github.com/users/Frenzy277/gists{/gist_id}","starred_url":"https://api.github.com/users/Frenzy277/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frenzy277/subscriptions","organizations_url":"https://api.github.com/users/Frenzy277/orgs","repos_url":"https://api.github.com/users/Frenzy277/repos","events_url":"https://api.github.com/users/Frenzy277/events{/privacy}","received_events_url":"https://api.github.com/users/Frenzy277/received_events","type":"User","site_admin":false},"repo":{"id":26922416,"name":"myflix","full_name":"Frenzy277/myflix","owner":{"login":"Frenzy277","id":7385469,"avatar_url":"https://avatars.githubusercontent.com/u/7385469?v=3","gravatar_id":"","url":"https://api.github.com/users/Frenzy277","html_url":"https://github.com/Frenzy277","followers_url":"https://api.github.com/users/Frenzy277/followers","following_url":"https://api.github.com/users/Frenzy277/following{/other_user}","gists_url":"https://api.github.com/users/Frenzy277/gists{/gist_id}","starred_url":"https://api.github.com/users/Frenzy277/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frenzy277/subscriptions","organizations_url":"https://api.github.com/users/Frenzy277/orgs","repos_url":"https://api.github.com/users/Frenzy277/repos","events_url":"https://api.github.com/users/Frenzy277/events{/privacy}","received_events_url":"https://api.github.com/users/Frenzy277/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Frenzy277/myflix","description":"Tealeaf Academy 3rd course project.","fork":false,"url":"https://api.github.com/repos/Frenzy277/myflix","forks_url":"https://api.github.com/repos/Frenzy277/myflix/forks","keys_url":"https://api.github.com/repos/Frenzy277/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Frenzy277/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Frenzy277/myflix/teams","hooks_url":"https://api.github.com/repos/Frenzy277/myflix/hooks","issue_events_url":"https://api.github.com/repos/Frenzy277/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/Frenzy277/myflix/events","assignees_url":"https://api.github.com/repos/Frenzy277/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/Frenzy277/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/Frenzy277/myflix/tags","blobs_url":"https://api.github.com/repos/Frenzy277/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Frenzy277/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Frenzy277/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/Frenzy277/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Frenzy277/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/Frenzy277/myflix/languages","stargazers_url":"https://api.github.com/repos/Frenzy277/myflix/stargazers","contributors_url":"https://api.github.com/repos/Frenzy277/myflix/contributors","subscribers_url":"https://api.github.com/repos/Frenzy277/myflix/subscribers","subscription_url":"https://api.github.com/repos/Frenzy277/myflix/subscription","commits_url":"https://api.github.com/repos/Frenzy277/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/Frenzy277/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/Frenzy277/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/Frenzy277/myflix/issues/comments/{number}","contents_url":"https://api.github.com/repos/Frenzy277/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/Frenzy277/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Frenzy277/myflix/merges","archive_url":"https://api.github.com/repos/Frenzy277/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Frenzy277/myflix/downloads","issues_url":"https://api.github.com/repos/Frenzy277/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/Frenzy277/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/Frenzy277/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/Frenzy277/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Frenzy277/myflix/labels{/name}","releases_url":"https://api.github.com/repos/Frenzy277/myflix/releases{/id}","created_at":"2014-11-20T16:59:19Z","updated_at":"2014-12-16T10:07:57Z","pushed_at":"2014-12-16T17:28:07Z","git_url":"git://github.com/Frenzy277/myflix.git","ssh_url":"git@github.com:Frenzy277/myflix.git","clone_url":"https://github.com/Frenzy277/myflix.git","svn_url":"https://github.com/Frenzy277/myflix","homepage":null,"size":3216,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Frenzy277:master","ref":"master","sha":"19494f1ccb3dc23e25e9db417e1055c2794d75ee","user":{"login":"Frenzy277","id":7385469,"avatar_url":"https://avatars.githubusercontent.com/u/7385469?v=3","gravatar_id":"","url":"https://api.github.com/users/Frenzy277","html_url":"https://github.com/Frenzy277","followers_url":"https://api.github.com/users/Frenzy277/followers","following_url":"https://api.github.com/users/Frenzy277/following{/other_user}","gists_url":"https://api.github.com/users/Frenzy277/gists{/gist_id}","starred_url":"https://api.github.com/users/Frenzy277/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frenzy277/subscriptions","organizations_url":"https://api.github.com/users/Frenzy277/orgs","repos_url":"https://api.github.com/users/Frenzy277/repos","events_url":"https://api.github.com/users/Frenzy277/events{/privacy}","received_events_url":"https://api.github.com/users/Frenzy277/received_events","type":"User","site_admin":false},"repo":{"id":26922416,"name":"myflix","full_name":"Frenzy277/myflix","owner":{"login":"Frenzy277","id":7385469,"avatar_url":"https://avatars.githubusercontent.com/u/7385469?v=3","gravatar_id":"","url":"https://api.github.com/users/Frenzy277","html_url":"https://github.com/Frenzy277","followers_url":"https://api.github.com/users/Frenzy277/followers","following_url":"https://api.github.com/users/Frenzy277/following{/other_user}","gists_url":"https://api.github.com/users/Frenzy277/gists{/gist_id}","starred_url":"https://api.github.com/users/Frenzy277/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frenzy277/subscriptions","organizations_url":"https://api.github.com/users/Frenzy277/orgs","repos_url":"https://api.github.com/users/Frenzy277/repos","events_url":"https://api.github.com/users/Frenzy277/events{/privacy}","received_events_url":"https://api.github.com/users/Frenzy277/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Frenzy277/myflix","description":"Tealeaf Academy 3rd course project.","fork":false,"url":"https://api.github.com/repos/Frenzy277/myflix","forks_url":"https://api.github.com/repos/Frenzy277/myflix/forks","keys_url":"https://api.github.com/repos/Frenzy277/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Frenzy277/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Frenzy277/myflix/teams","hooks_url":"https://api.github.com/repos/Frenzy277/myflix/hooks","issue_events_url":"https://api.github.com/repos/Frenzy277/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/Frenzy277/myflix/events","assignees_url":"https://api.github.com/repos/Frenzy277/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/Frenzy277/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/Frenzy277/myflix/tags","blobs_url":"https://api.github.com/repos/Frenzy277/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Frenzy277/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Frenzy277/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/Frenzy277/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Frenzy277/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/Frenzy277/myflix/languages","stargazers_url":"https://api.github.com/repos/Frenzy277/myflix/stargazers","contributors_url":"https://api.github.com/repos/Frenzy277/myflix/contributors","subscribers_url":"https://api.github.com/repos/Frenzy277/myflix/subscribers","subscription_url":"https://api.github.com/repos/Frenzy277/myflix/subscription","commits_url":"https://api.github.com/repos/Frenzy277/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/Frenzy277/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/Frenzy277/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/Frenzy277/myflix/issues/comments/{number}","contents_url":"https://api.github.com/repos/Frenzy277/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/Frenzy277/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Frenzy277/myflix/merges","archive_url":"https://api.github.com/repos/Frenzy277/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Frenzy277/myflix/downloads","issues_url":"https://api.github.com/repos/Frenzy277/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/Frenzy277/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/Frenzy277/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/Frenzy277/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Frenzy277/myflix/labels{/name}","releases_url":"https://api.github.com/repos/Frenzy277/myflix/releases{/id}","created_at":"2014-11-20T16:59:19Z","updated_at":"2014-12-16T10:07:57Z","pushed_at":"2014-12-16T17:28:07Z","git_url":"git://github.com/Frenzy277/myflix.git","ssh_url":"git@github.com:Frenzy277/myflix.git","clone_url":"https://github.com/Frenzy277/myflix.git","svn_url":"https://github.com/Frenzy277/myflix","homepage":null,"size":3216,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Frenzy277/myflix/pulls/13"},"html":{"href":"https://github.com/Frenzy277/myflix/pull/13"},"issue":{"href":"https://api.github.com/repos/Frenzy277/myflix/issues/13"},"comments":{"href":"https://api.github.com/repos/Frenzy277/myflix/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/Frenzy277/myflix/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/Frenzy277/myflix/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Frenzy277/myflix/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/Frenzy277/myflix/statuses/4ab81f295da7ca46be0ec9ab6dbf2fb512d58350"}}}}