{"action":"created","comment":{"url":"https://api.github.com/repos/Tankard/palle/pulls/comments/24390051","id":24390051,"diff_hunk":"@@ -0,0 +1,9 @@\n+class UserMailer < ApplicationMailer\n+\tdefault from: \"support@palle.com\"\n+\n+\tdef welcome_email(user)\n+\t\t@user = user\n+\t\t@url = \"http://google.com\"\n+\t\tmail(to: @user.email, subject: \"Welcome on Palle #{@user.name}\")","path":"app/mailers/user_mailer.rb","position":7,"original_position":7,"commit_id":"871497ee538b133703ec8b2a4b24bb33a2e25987","original_commit_id":"871497ee538b133703ec8b2a4b24bb33a2e25987","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":"Tab detected.","created_at":"2015-02-10T05:33:20Z","updated_at":"2015-02-10T05:33:20Z","html_url":"https://github.com/Tankard/palle/pull/1#discussion_r24390051","pull_request_url":"https://api.github.com/repos/Tankard/palle/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Tankard/palle/pulls/comments/24390051"},"html":{"href":"https://github.com/Tankard/palle/pull/1#discussion_r24390051"},"pull_request":{"href":"https://api.github.com/repos/Tankard/palle/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Tankard/palle/pulls/1","id":27157172,"html_url":"https://github.com/Tankard/palle/pull/1","diff_url":"https://github.com/Tankard/palle/pull/1.diff","patch_url":"https://github.com/Tankard/palle/pull/1.patch","issue_url":"https://api.github.com/repos/Tankard/palle/issues/1","number":1,"state":"open","locked":false,"title":"Mao/authorization","user":{"login":"alexander-makarov","id":2928121,"avatar_url":"https://avatars.githubusercontent.com/u/2928121?v=3","gravatar_id":"","url":"https://api.github.com/users/alexander-makarov","html_url":"https://github.com/alexander-makarov","followers_url":"https://api.github.com/users/alexander-makarov/followers","following_url":"https://api.github.com/users/alexander-makarov/following{/other_user}","gists_url":"https://api.github.com/users/alexander-makarov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexander-makarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexander-makarov/subscriptions","organizations_url":"https://api.github.com/users/alexander-makarov/orgs","repos_url":"https://api.github.com/users/alexander-makarov/repos","events_url":"https://api.github.com/users/alexander-makarov/events{/privacy}","received_events_url":"https://api.github.com/users/alexander-makarov/received_events","type":"User","site_admin":false},"body":"Devise authorization + omniauth for facebook.\r\nI've done some very basic user model spec and basic registration+authorization feature specs.\r\nAlso I changed basic registration controller, now it's palle_devise/registrations_controller.rb. I was thinking to implement some welcome mailing there, but sorta stuck with action mailer configuration.\r\nI added avatars for user profile using carrierwave gem.","created_at":"2015-01-11T01:14:03Z","updated_at":"2015-02-10T05:33:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b9660d70846c81f1dc06b1af847cb4a7bddc7fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Tankard/palle/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Tankard/palle/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Tankard/palle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Tankard/palle/issues/1/comments","statuses_url":"https://api.github.com/repos/Tankard/palle/statuses/871497ee538b133703ec8b2a4b24bb33a2e25987","head":{"label":"Tankard:mao/authorization","ref":"mao/authorization","sha":"871497ee538b133703ec8b2a4b24bb33a2e25987","user":{"login":"Tankard","id":893434,"avatar_url":"https://avatars.githubusercontent.com/u/893434?v=3","gravatar_id":"","url":"https://api.github.com/users/Tankard","html_url":"https://github.com/Tankard","followers_url":"https://api.github.com/users/Tankard/followers","following_url":"https://api.github.com/users/Tankard/following{/other_user}","gists_url":"https://api.github.com/users/Tankard/gists{/gist_id}","starred_url":"https://api.github.com/users/Tankard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tankard/subscriptions","organizations_url":"https://api.github.com/users/Tankard/orgs","repos_url":"https://api.github.com/users/Tankard/repos","events_url":"https://api.github.com/users/Tankard/events{/privacy}","received_events_url":"https://api.github.com/users/Tankard/received_events","type":"User","site_admin":false},"repo":{"id":24653465,"name":"palle","full_name":"Tankard/palle","owner":{"login":"Tankard","id":893434,"avatar_url":"https://avatars.githubusercontent.com/u/893434?v=3","gravatar_id":"","url":"https://api.github.com/users/Tankard","html_url":"https://github.com/Tankard","followers_url":"https://api.github.com/users/Tankard/followers","following_url":"https://api.github.com/users/Tankard/following{/other_user}","gists_url":"https://api.github.com/users/Tankard/gists{/gist_id}","starred_url":"https://api.github.com/users/Tankard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tankard/subscriptions","organizations_url":"https://api.github.com/users/Tankard/orgs","repos_url":"https://api.github.com/users/Tankard/repos","events_url":"https://api.github.com/users/Tankard/events{/privacy}","received_events_url":"https://api.github.com/users/Tankard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tankard/palle","description":"Palle","fork":false,"url":"https://api.github.com/repos/Tankard/palle","forks_url":"https://api.github.com/repos/Tankard/palle/forks","keys_url":"https://api.github.com/repos/Tankard/palle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tankard/palle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tankard/palle/teams","hooks_url":"https://api.github.com/repos/Tankard/palle/hooks","issue_events_url":"https://api.github.com/repos/Tankard/palle/issues/events{/number}","events_url":"https://api.github.com/repos/Tankard/palle/events","assignees_url":"https://api.github.com/repos/Tankard/palle/assignees{/user}","branches_url":"https://api.github.com/repos/Tankard/palle/branches{/branch}","tags_url":"https://api.github.com/repos/Tankard/palle/tags","blobs_url":"https://api.github.com/repos/Tankard/palle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tankard/palle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tankard/palle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tankard/palle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tankard/palle/statuses/{sha}","languages_url":"https://api.github.com/repos/Tankard/palle/languages","stargazers_url":"https://api.github.com/repos/Tankard/palle/stargazers","contributors_url":"https://api.github.com/repos/Tankard/palle/contributors","subscribers_url":"https://api.github.com/repos/Tankard/palle/subscribers","subscription_url":"https://api.github.com/repos/Tankard/palle/subscription","commits_url":"https://api.github.com/repos/Tankard/palle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tankard/palle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tankard/palle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tankard/palle/issues/comments/{number}","contents_url":"https://api.github.com/repos/Tankard/palle/contents/{+path}","compare_url":"https://api.github.com/repos/Tankard/palle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tankard/palle/merges","archive_url":"https://api.github.com/repos/Tankard/palle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tankard/palle/downloads","issues_url":"https://api.github.com/repos/Tankard/palle/issues{/number}","pulls_url":"https://api.github.com/repos/Tankard/palle/pulls{/number}","milestones_url":"https://api.github.com/repos/Tankard/palle/milestones{/number}","notifications_url":"https://api.github.com/repos/Tankard/palle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tankard/palle/labels{/name}","releases_url":"https://api.github.com/repos/Tankard/palle/releases{/id}","created_at":"2014-09-30T20:01:27Z","updated_at":"2014-12-22T11:12:51Z","pushed_at":"2015-02-10T05:33:08Z","git_url":"git://github.com/Tankard/palle.git","ssh_url":"git@github.com:Tankard/palle.git","clone_url":"https://github.com/Tankard/palle.git","svn_url":"https://github.com/Tankard/palle","homepage":"","size":536,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Tankard:master","ref":"master","sha":"83b7925f34333b9aa306e7f4c1c77ad725500572","user":{"login":"Tankard","id":893434,"avatar_url":"https://avatars.githubusercontent.com/u/893434?v=3","gravatar_id":"","url":"https://api.github.com/users/Tankard","html_url":"https://github.com/Tankard","followers_url":"https://api.github.com/users/Tankard/followers","following_url":"https://api.github.com/users/Tankard/following{/other_user}","gists_url":"https://api.github.com/users/Tankard/gists{/gist_id}","starred_url":"https://api.github.com/users/Tankard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tankard/subscriptions","organizations_url":"https://api.github.com/users/Tankard/orgs","repos_url":"https://api.github.com/users/Tankard/repos","events_url":"https://api.github.com/users/Tankard/events{/privacy}","received_events_url":"https://api.github.com/users/Tankard/received_events","type":"User","site_admin":false},"repo":{"id":24653465,"name":"palle","full_name":"Tankard/palle","owner":{"login":"Tankard","id":893434,"avatar_url":"https://avatars.githubusercontent.com/u/893434?v=3","gravatar_id":"","url":"https://api.github.com/users/Tankard","html_url":"https://github.com/Tankard","followers_url":"https://api.github.com/users/Tankard/followers","following_url":"https://api.github.com/users/Tankard/following{/other_user}","gists_url":"https://api.github.com/users/Tankard/gists{/gist_id}","starred_url":"https://api.github.com/users/Tankard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tankard/subscriptions","organizations_url":"https://api.github.com/users/Tankard/orgs","repos_url":"https://api.github.com/users/Tankard/repos","events_url":"https://api.github.com/users/Tankard/events{/privacy}","received_events_url":"https://api.github.com/users/Tankard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tankard/palle","description":"Palle","fork":false,"url":"https://api.github.com/repos/Tankard/palle","forks_url":"https://api.github.com/repos/Tankard/palle/forks","keys_url":"https://api.github.com/repos/Tankard/palle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tankard/palle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tankard/palle/teams","hooks_url":"https://api.github.com/repos/Tankard/palle/hooks","issue_events_url":"https://api.github.com/repos/Tankard/palle/issues/events{/number}","events_url":"https://api.github.com/repos/Tankard/palle/events","assignees_url":"https://api.github.com/repos/Tankard/palle/assignees{/user}","branches_url":"https://api.github.com/repos/Tankard/palle/branches{/branch}","tags_url":"https://api.github.com/repos/Tankard/palle/tags","blobs_url":"https://api.github.com/repos/Tankard/palle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tankard/palle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tankard/palle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tankard/palle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tankard/palle/statuses/{sha}","languages_url":"https://api.github.com/repos/Tankard/palle/languages","stargazers_url":"https://api.github.com/repos/Tankard/palle/stargazers","contributors_url":"https://api.github.com/repos/Tankard/palle/contributors","subscribers_url":"https://api.github.com/repos/Tankard/palle/subscribers","subscription_url":"https://api.github.com/repos/Tankard/palle/subscription","commits_url":"https://api.github.com/repos/Tankard/palle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tankard/palle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tankard/palle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tankard/palle/issues/comments/{number}","contents_url":"https://api.github.com/repos/Tankard/palle/contents/{+path}","compare_url":"https://api.github.com/repos/Tankard/palle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tankard/palle/merges","archive_url":"https://api.github.com/repos/Tankard/palle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tankard/palle/downloads","issues_url":"https://api.github.com/repos/Tankard/palle/issues{/number}","pulls_url":"https://api.github.com/repos/Tankard/palle/pulls{/number}","milestones_url":"https://api.github.com/repos/Tankard/palle/milestones{/number}","notifications_url":"https://api.github.com/repos/Tankard/palle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tankard/palle/labels{/name}","releases_url":"https://api.github.com/repos/Tankard/palle/releases{/id}","created_at":"2014-09-30T20:01:27Z","updated_at":"2014-12-22T11:12:51Z","pushed_at":"2015-02-10T05:33:08Z","git_url":"git://github.com/Tankard/palle.git","ssh_url":"git@github.com:Tankard/palle.git","clone_url":"https://github.com/Tankard/palle.git","svn_url":"https://github.com/Tankard/palle","homepage":"","size":536,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tankard/palle/pulls/1"},"html":{"href":"https://github.com/Tankard/palle/pull/1"},"issue":{"href":"https://api.github.com/repos/Tankard/palle/issues/1"},"comments":{"href":"https://api.github.com/repos/Tankard/palle/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Tankard/palle/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Tankard/palle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Tankard/palle/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Tankard/palle/statuses/871497ee538b133703ec8b2a4b24bb33a2e25987"}}}}