{"action":"created","comment":{"url":"https://api.github.com/repos/jamesacero/wag/pulls/comments/42079702","id":42079702,"diff_hunk":"@@ -4,6 +4,20 @@ class ApplicationController < ActionController::Base\n   protect_from_forgery with: :exception\n   before_action :configure_permitted_parameters, if: :devise_controller?\n \n+  module PlaydateHelper\n+     def resource_name\n+       :user\n+     end\n+\n+     def resource\n+       @resource ||= User.new\n+     end\n+\n+     def devise_mapping\n+       @devise_mapping ||= Devise.mappings[:user]\n+     end\n+   end","path":"app/controllers/application_controller.rb","position":16,"original_position":16,"commit_id":"bc3b5122e14d39ccadec8569233d60b1da9912e8","original_commit_id":"bc3b5122e14d39ccadec8569233d60b1da9912e8","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":"`end` at 19, 3 is not aligned with `module` at 7, 2.","created_at":"2015-10-15T03:13:48Z","updated_at":"2015-10-15T03:13:48Z","html_url":"https://github.com/jamesacero/wag/pull/10#discussion_r42079702","pull_request_url":"https://api.github.com/repos/jamesacero/wag/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/jamesacero/wag/pulls/comments/42079702"},"html":{"href":"https://github.com/jamesacero/wag/pull/10#discussion_r42079702"},"pull_request":{"href":"https://api.github.com/repos/jamesacero/wag/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/jamesacero/wag/pulls/10","id":47740003,"html_url":"https://github.com/jamesacero/wag/pull/10","diff_url":"https://github.com/jamesacero/wag/pull/10.diff","patch_url":"https://github.com/jamesacero/wag/pull/10.patch","issue_url":"https://api.github.com/repos/jamesacero/wag/issues/10","number":10,"state":"open","locked":false,"title":"Playdates","user":{"login":"jamesacero","id":11217141,"avatar_url":"https://avatars.githubusercontent.com/u/11217141?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesacero","html_url":"https://github.com/jamesacero","followers_url":"https://api.github.com/users/jamesacero/followers","following_url":"https://api.github.com/users/jamesacero/following{/other_user}","gists_url":"https://api.github.com/users/jamesacero/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesacero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesacero/subscriptions","organizations_url":"https://api.github.com/users/jamesacero/orgs","repos_url":"https://api.github.com/users/jamesacero/repos","events_url":"https://api.github.com/users/jamesacero/events{/privacy}","received_events_url":"https://api.github.com/users/jamesacero/received_events","type":"User","site_admin":false},"body":"Added create playdates, still need to work on join a playdate and view.","created_at":"2015-10-15T03:13:30Z","updated_at":"2015-10-15T03:13:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41887df38a1b618552e0f86e78d66aed8fe85294","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jamesacero/wag/pulls/10/commits","review_comments_url":"https://api.github.com/repos/jamesacero/wag/pulls/10/comments","review_comment_url":"https://api.github.com/repos/jamesacero/wag/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jamesacero/wag/issues/10/comments","statuses_url":"https://api.github.com/repos/jamesacero/wag/statuses/bc3b5122e14d39ccadec8569233d60b1da9912e8","head":{"label":"jamesacero:meetups","ref":"meetups","sha":"bc3b5122e14d39ccadec8569233d60b1da9912e8","user":{"login":"jamesacero","id":11217141,"avatar_url":"https://avatars.githubusercontent.com/u/11217141?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesacero","html_url":"https://github.com/jamesacero","followers_url":"https://api.github.com/users/jamesacero/followers","following_url":"https://api.github.com/users/jamesacero/following{/other_user}","gists_url":"https://api.github.com/users/jamesacero/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesacero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesacero/subscriptions","organizations_url":"https://api.github.com/users/jamesacero/orgs","repos_url":"https://api.github.com/users/jamesacero/repos","events_url":"https://api.github.com/users/jamesacero/events{/privacy}","received_events_url":"https://api.github.com/users/jamesacero/received_events","type":"User","site_admin":false},"repo":{"id":42974945,"name":"wag","full_name":"jamesacero/wag","owner":{"login":"jamesacero","id":11217141,"avatar_url":"https://avatars.githubusercontent.com/u/11217141?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesacero","html_url":"https://github.com/jamesacero","followers_url":"https://api.github.com/users/jamesacero/followers","following_url":"https://api.github.com/users/jamesacero/following{/other_user}","gists_url":"https://api.github.com/users/jamesacero/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesacero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesacero/subscriptions","organizations_url":"https://api.github.com/users/jamesacero/orgs","repos_url":"https://api.github.com/users/jamesacero/repos","events_url":"https://api.github.com/users/jamesacero/events{/privacy}","received_events_url":"https://api.github.com/users/jamesacero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamesacero/wag","description":"Breakable toy for Launch Academy","fork":false,"url":"https://api.github.com/repos/jamesacero/wag","forks_url":"https://api.github.com/repos/jamesacero/wag/forks","keys_url":"https://api.github.com/repos/jamesacero/wag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamesacero/wag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamesacero/wag/teams","hooks_url":"https://api.github.com/repos/jamesacero/wag/hooks","issue_events_url":"https://api.github.com/repos/jamesacero/wag/issues/events{/number}","events_url":"https://api.github.com/repos/jamesacero/wag/events","assignees_url":"https://api.github.com/repos/jamesacero/wag/assignees{/user}","branches_url":"https://api.github.com/repos/jamesacero/wag/branches{/branch}","tags_url":"https://api.github.com/repos/jamesacero/wag/tags","blobs_url":"https://api.github.com/repos/jamesacero/wag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamesacero/wag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamesacero/wag/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamesacero/wag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamesacero/wag/statuses/{sha}","languages_url":"https://api.github.com/repos/jamesacero/wag/languages","stargazers_url":"https://api.github.com/repos/jamesacero/wag/stargazers","contributors_url":"https://api.github.com/repos/jamesacero/wag/contributors","subscribers_url":"https://api.github.com/repos/jamesacero/wag/subscribers","subscription_url":"https://api.github.com/repos/jamesacero/wag/subscription","commits_url":"https://api.github.com/repos/jamesacero/wag/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamesacero/wag/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamesacero/wag/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamesacero/wag/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamesacero/wag/contents/{+path}","compare_url":"https://api.github.com/repos/jamesacero/wag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamesacero/wag/merges","archive_url":"https://api.github.com/repos/jamesacero/wag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamesacero/wag/downloads","issues_url":"https://api.github.com/repos/jamesacero/wag/issues{/number}","pulls_url":"https://api.github.com/repos/jamesacero/wag/pulls{/number}","milestones_url":"https://api.github.com/repos/jamesacero/wag/milestones{/number}","notifications_url":"https://api.github.com/repos/jamesacero/wag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamesacero/wag/labels{/name}","releases_url":"https://api.github.com/repos/jamesacero/wag/releases{/id}","created_at":"2015-09-23T03:00:22Z","updated_at":"2015-10-09T20:07:45Z","pushed_at":"2015-10-15T03:13:30Z","git_url":"git://github.com/jamesacero/wag.git","ssh_url":"git@github.com:jamesacero/wag.git","clone_url":"https://github.com/jamesacero/wag.git","svn_url":"https://github.com/jamesacero/wag","homepage":null,"size":2528,"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":"jamesacero:master","ref":"master","sha":"e11f3d59262b150082c216166743c813bc76cb25","user":{"login":"jamesacero","id":11217141,"avatar_url":"https://avatars.githubusercontent.com/u/11217141?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesacero","html_url":"https://github.com/jamesacero","followers_url":"https://api.github.com/users/jamesacero/followers","following_url":"https://api.github.com/users/jamesacero/following{/other_user}","gists_url":"https://api.github.com/users/jamesacero/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesacero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesacero/subscriptions","organizations_url":"https://api.github.com/users/jamesacero/orgs","repos_url":"https://api.github.com/users/jamesacero/repos","events_url":"https://api.github.com/users/jamesacero/events{/privacy}","received_events_url":"https://api.github.com/users/jamesacero/received_events","type":"User","site_admin":false},"repo":{"id":42974945,"name":"wag","full_name":"jamesacero/wag","owner":{"login":"jamesacero","id":11217141,"avatar_url":"https://avatars.githubusercontent.com/u/11217141?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesacero","html_url":"https://github.com/jamesacero","followers_url":"https://api.github.com/users/jamesacero/followers","following_url":"https://api.github.com/users/jamesacero/following{/other_user}","gists_url":"https://api.github.com/users/jamesacero/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesacero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesacero/subscriptions","organizations_url":"https://api.github.com/users/jamesacero/orgs","repos_url":"https://api.github.com/users/jamesacero/repos","events_url":"https://api.github.com/users/jamesacero/events{/privacy}","received_events_url":"https://api.github.com/users/jamesacero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamesacero/wag","description":"Breakable toy for Launch Academy","fork":false,"url":"https://api.github.com/repos/jamesacero/wag","forks_url":"https://api.github.com/repos/jamesacero/wag/forks","keys_url":"https://api.github.com/repos/jamesacero/wag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamesacero/wag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamesacero/wag/teams","hooks_url":"https://api.github.com/repos/jamesacero/wag/hooks","issue_events_url":"https://api.github.com/repos/jamesacero/wag/issues/events{/number}","events_url":"https://api.github.com/repos/jamesacero/wag/events","assignees_url":"https://api.github.com/repos/jamesacero/wag/assignees{/user}","branches_url":"https://api.github.com/repos/jamesacero/wag/branches{/branch}","tags_url":"https://api.github.com/repos/jamesacero/wag/tags","blobs_url":"https://api.github.com/repos/jamesacero/wag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamesacero/wag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamesacero/wag/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamesacero/wag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamesacero/wag/statuses/{sha}","languages_url":"https://api.github.com/repos/jamesacero/wag/languages","stargazers_url":"https://api.github.com/repos/jamesacero/wag/stargazers","contributors_url":"https://api.github.com/repos/jamesacero/wag/contributors","subscribers_url":"https://api.github.com/repos/jamesacero/wag/subscribers","subscription_url":"https://api.github.com/repos/jamesacero/wag/subscription","commits_url":"https://api.github.com/repos/jamesacero/wag/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamesacero/wag/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamesacero/wag/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamesacero/wag/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamesacero/wag/contents/{+path}","compare_url":"https://api.github.com/repos/jamesacero/wag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamesacero/wag/merges","archive_url":"https://api.github.com/repos/jamesacero/wag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamesacero/wag/downloads","issues_url":"https://api.github.com/repos/jamesacero/wag/issues{/number}","pulls_url":"https://api.github.com/repos/jamesacero/wag/pulls{/number}","milestones_url":"https://api.github.com/repos/jamesacero/wag/milestones{/number}","notifications_url":"https://api.github.com/repos/jamesacero/wag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamesacero/wag/labels{/name}","releases_url":"https://api.github.com/repos/jamesacero/wag/releases{/id}","created_at":"2015-09-23T03:00:22Z","updated_at":"2015-10-09T20:07:45Z","pushed_at":"2015-10-15T03:13:30Z","git_url":"git://github.com/jamesacero/wag.git","ssh_url":"git@github.com:jamesacero/wag.git","clone_url":"https://github.com/jamesacero/wag.git","svn_url":"https://github.com/jamesacero/wag","homepage":null,"size":2528,"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/jamesacero/wag/pulls/10"},"html":{"href":"https://github.com/jamesacero/wag/pull/10"},"issue":{"href":"https://api.github.com/repos/jamesacero/wag/issues/10"},"comments":{"href":"https://api.github.com/repos/jamesacero/wag/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/jamesacero/wag/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/jamesacero/wag/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jamesacero/wag/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/jamesacero/wag/statuses/bc3b5122e14d39ccadec8569233d60b1da9912e8"}}}}