{"action":"created","comment":{"url":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/comments/23138865","id":23138865,"diff_hunk":"@@ -1,6 +1,38 @@\n class RegistrationsController < Devise::RegistrationsController\n+  def update\n+    update_params = account_update_params\n+    # required for settings form to submit when password is left blank\n+    if update_params[:password].blank?\n+      [:password,:password_confirmation,:current_password].collect{|p| update_params.delete(p) }\n+    end\n+    if update_params[:password].present? && update_params[:current_password].blank?","path":"app/controllers/registrations_controller.rb","position":8,"original_position":8,"commit_id":"0bbe1e2bcfb75be7b2ab4a3c644ced47a29c435f","original_commit_id":"0bbe1e2bcfb75be7b2ab4a3c644ced47a29c435f","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [83/80]","created_at":"2015-01-19T00:35:23Z","updated_at":"2015-01-19T00:35:23Z","html_url":"https://github.com/danielbonnell/abhnation-rails/pull/7#discussion_r23138865","pull_request_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/comments/23138865"},"html":{"href":"https://github.com/danielbonnell/abhnation-rails/pull/7#discussion_r23138865"},"pull_request":{"href":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/7","id":27579991,"html_url":"https://github.com/danielbonnell/abhnation-rails/pull/7","diff_url":"https://github.com/danielbonnell/abhnation-rails/pull/7.diff","patch_url":"https://github.com/danielbonnell/abhnation-rails/pull/7.patch","issue_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/issues/7","number":7,"state":"open","locked":false,"title":"Styling updates","user":{"login":"danielbonnell","id":8513877,"avatar_url":"https://avatars.githubusercontent.com/u/8513877?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbonnell","html_url":"https://github.com/danielbonnell","followers_url":"https://api.github.com/users/danielbonnell/followers","following_url":"https://api.github.com/users/danielbonnell/following{/other_user}","gists_url":"https://api.github.com/users/danielbonnell/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbonnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbonnell/subscriptions","organizations_url":"https://api.github.com/users/danielbonnell/orgs","repos_url":"https://api.github.com/users/danielbonnell/repos","events_url":"https://api.github.com/users/danielbonnell/events{/privacy}","received_events_url":"https://api.github.com/users/danielbonnell/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-19T00:35:16Z","updated_at":"2015-01-19T00:35:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f56fdccc175e27f931c745cab59b72ce3f9cd895","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/7/commits","review_comments_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/7/comments","review_comment_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/comments/{number}","comments_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/issues/7/comments","statuses_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/statuses/0bbe1e2bcfb75be7b2ab4a3c644ced47a29c435f","head":{"label":"danielbonnell:styling_updates","ref":"styling_updates","sha":"0bbe1e2bcfb75be7b2ab4a3c644ced47a29c435f","user":{"login":"danielbonnell","id":8513877,"avatar_url":"https://avatars.githubusercontent.com/u/8513877?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbonnell","html_url":"https://github.com/danielbonnell","followers_url":"https://api.github.com/users/danielbonnell/followers","following_url":"https://api.github.com/users/danielbonnell/following{/other_user}","gists_url":"https://api.github.com/users/danielbonnell/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbonnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbonnell/subscriptions","organizations_url":"https://api.github.com/users/danielbonnell/orgs","repos_url":"https://api.github.com/users/danielbonnell/repos","events_url":"https://api.github.com/users/danielbonnell/events{/privacy}","received_events_url":"https://api.github.com/users/danielbonnell/received_events","type":"User","site_admin":false},"repo":{"id":28697004,"name":"abhnation-rails","full_name":"danielbonnell/abhnation-rails","owner":{"login":"danielbonnell","id":8513877,"avatar_url":"https://avatars.githubusercontent.com/u/8513877?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbonnell","html_url":"https://github.com/danielbonnell","followers_url":"https://api.github.com/users/danielbonnell/followers","following_url":"https://api.github.com/users/danielbonnell/following{/other_user}","gists_url":"https://api.github.com/users/danielbonnell/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbonnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbonnell/subscriptions","organizations_url":"https://api.github.com/users/danielbonnell/orgs","repos_url":"https://api.github.com/users/danielbonnell/repos","events_url":"https://api.github.com/users/danielbonnell/events{/privacy}","received_events_url":"https://api.github.com/users/danielbonnell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielbonnell/abhnation-rails","description":"Migration of the 'abhnation' repo's front-end assets over to Rails 4.","fork":false,"url":"https://api.github.com/repos/danielbonnell/abhnation-rails","forks_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/forks","keys_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/teams","hooks_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/hooks","issue_events_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/issues/events{/number}","events_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/events","assignees_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/assignees{/user}","branches_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/branches{/branch}","tags_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/tags","blobs_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/languages","stargazers_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/stargazers","contributors_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/contributors","subscribers_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/subscribers","subscription_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/subscription","commits_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/issues/comments/{number}","contents_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/contents/{+path}","compare_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/merges","archive_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/downloads","issues_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/issues{/number}","pulls_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/labels{/name}","releases_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/releases{/id}","created_at":"2015-01-01T22:14:32Z","updated_at":"2015-01-17T05:57:48Z","pushed_at":"2015-01-19T00:35:10Z","git_url":"git://github.com/danielbonnell/abhnation-rails.git","ssh_url":"git@github.com:danielbonnell/abhnation-rails.git","clone_url":"https://github.com/danielbonnell/abhnation-rails.git","svn_url":"https://github.com/danielbonnell/abhnation-rails","homepage":null,"size":8325,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"danielbonnell:master","ref":"master","sha":"8a68f91e996a813d043eb99829bf3ef486fef98e","user":{"login":"danielbonnell","id":8513877,"avatar_url":"https://avatars.githubusercontent.com/u/8513877?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbonnell","html_url":"https://github.com/danielbonnell","followers_url":"https://api.github.com/users/danielbonnell/followers","following_url":"https://api.github.com/users/danielbonnell/following{/other_user}","gists_url":"https://api.github.com/users/danielbonnell/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbonnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbonnell/subscriptions","organizations_url":"https://api.github.com/users/danielbonnell/orgs","repos_url":"https://api.github.com/users/danielbonnell/repos","events_url":"https://api.github.com/users/danielbonnell/events{/privacy}","received_events_url":"https://api.github.com/users/danielbonnell/received_events","type":"User","site_admin":false},"repo":{"id":28697004,"name":"abhnation-rails","full_name":"danielbonnell/abhnation-rails","owner":{"login":"danielbonnell","id":8513877,"avatar_url":"https://avatars.githubusercontent.com/u/8513877?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbonnell","html_url":"https://github.com/danielbonnell","followers_url":"https://api.github.com/users/danielbonnell/followers","following_url":"https://api.github.com/users/danielbonnell/following{/other_user}","gists_url":"https://api.github.com/users/danielbonnell/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbonnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbonnell/subscriptions","organizations_url":"https://api.github.com/users/danielbonnell/orgs","repos_url":"https://api.github.com/users/danielbonnell/repos","events_url":"https://api.github.com/users/danielbonnell/events{/privacy}","received_events_url":"https://api.github.com/users/danielbonnell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielbonnell/abhnation-rails","description":"Migration of the 'abhnation' repo's front-end assets over to Rails 4.","fork":false,"url":"https://api.github.com/repos/danielbonnell/abhnation-rails","forks_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/forks","keys_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/teams","hooks_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/hooks","issue_events_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/issues/events{/number}","events_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/events","assignees_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/assignees{/user}","branches_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/branches{/branch}","tags_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/tags","blobs_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/languages","stargazers_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/stargazers","contributors_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/contributors","subscribers_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/subscribers","subscription_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/subscription","commits_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/issues/comments/{number}","contents_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/contents/{+path}","compare_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/merges","archive_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/downloads","issues_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/issues{/number}","pulls_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/labels{/name}","releases_url":"https://api.github.com/repos/danielbonnell/abhnation-rails/releases{/id}","created_at":"2015-01-01T22:14:32Z","updated_at":"2015-01-17T05:57:48Z","pushed_at":"2015-01-19T00:35:10Z","git_url":"git://github.com/danielbonnell/abhnation-rails.git","ssh_url":"git@github.com:danielbonnell/abhnation-rails.git","clone_url":"https://github.com/danielbonnell/abhnation-rails.git","svn_url":"https://github.com/danielbonnell/abhnation-rails","homepage":null,"size":8325,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/7"},"html":{"href":"https://github.com/danielbonnell/abhnation-rails/pull/7"},"issue":{"href":"https://api.github.com/repos/danielbonnell/abhnation-rails/issues/7"},"comments":{"href":"https://api.github.com/repos/danielbonnell/abhnation-rails/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/danielbonnell/abhnation-rails/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/danielbonnell/abhnation-rails/statuses/0bbe1e2bcfb75be7b2ab4a3c644ced47a29c435f"}}}}