{"action":"opened","number":158,"pull_request":{"url":"https://api.github.com/repos/epicodus/epicenter/pulls/158","id":33191336,"html_url":"https://github.com/epicodus/epicenter/pull/158","diff_url":"https://github.com/epicodus/epicenter/pull/158.diff","patch_url":"https://github.com/epicodus/epicenter/pull/158.patch","issue_url":"https://api.github.com/repos/epicodus/epicenter/issues/158","number":158,"state":"open","locked":false,"title":"Inviting admins WIP","user":{"login":"jenmccarthy","id":7583165,"avatar_url":"https://avatars.githubusercontent.com/u/7583165?v=3","gravatar_id":"","url":"https://api.github.com/users/jenmccarthy","html_url":"https://github.com/jenmccarthy","followers_url":"https://api.github.com/users/jenmccarthy/followers","following_url":"https://api.github.com/users/jenmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/jenmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/jenmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenmccarthy/subscriptions","organizations_url":"https://api.github.com/users/jenmccarthy/orgs","repos_url":"https://api.github.com/users/jenmccarthy/repos","events_url":"https://api.github.com/users/jenmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/jenmccarthy/received_events","type":"User","site_admin":false},"body":"To keep it brief, I am having trouble overriding some of devise invitable's default behavior to add separate views for email invitations. I want an invitation email to be different for an admin vs a student. I can use a default generic email for both (which would be way easier), but was hoping to have something customizable. \r\n\r\nI have followed these instructions twice with no luck:\r\nhttps://github.com/scambra/devise_invitable/wiki/Customizing-for-different-Invite-use-cases-%28emails-etc.%29\r\n\r\nand then found some interesting things here that I am currently implementing:\r\nhttp://stackoverflow.com/questions/21446631/changed-devise-mailer-template-path-now-devise-invitables-e-mail-subject-lines\r\n\r\nI don't think I am super close to being done, but the error I receive at the moment is \"could not find a valid mapping for #<user....\" when I attempt to send a new invitation email. I get that in my unpassing specs as well.\r\n\r\nThis is totally in need of some help and SHOULD NOT BE MERGED IN (just to be safe!) any troubleshooting would be helpful!","created_at":"2015-04-13T18:45:07Z","updated_at":"2015-04-13T18:45:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/epicodus/epicenter/pulls/158/commits","review_comments_url":"https://api.github.com/repos/epicodus/epicenter/pulls/158/comments","review_comment_url":"https://api.github.com/repos/epicodus/epicenter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/epicodus/epicenter/issues/158/comments","statuses_url":"https://api.github.com/repos/epicodus/epicenter/statuses/5bf4f15e1e8dccc0f3171c0c45720ebc6e21896a","head":{"label":"epicodus:inviting_admins","ref":"inviting_admins","sha":"5bf4f15e1e8dccc0f3171c0c45720ebc6e21896a","user":{"login":"epicodus","id":3527941,"avatar_url":"https://avatars.githubusercontent.com/u/3527941?v=3","gravatar_id":"","url":"https://api.github.com/users/epicodus","html_url":"https://github.com/epicodus","followers_url":"https://api.github.com/users/epicodus/followers","following_url":"https://api.github.com/users/epicodus/following{/other_user}","gists_url":"https://api.github.com/users/epicodus/gists{/gist_id}","starred_url":"https://api.github.com/users/epicodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicodus/subscriptions","organizations_url":"https://api.github.com/users/epicodus/orgs","repos_url":"https://api.github.com/users/epicodus/repos","events_url":"https://api.github.com/users/epicodus/events{/privacy}","received_events_url":"https://api.github.com/users/epicodus/received_events","type":"Organization","site_admin":false},"repo":{"id":21055360,"name":"epicenter","full_name":"epicodus/epicenter","owner":{"login":"epicodus","id":3527941,"avatar_url":"https://avatars.githubusercontent.com/u/3527941?v=3","gravatar_id":"","url":"https://api.github.com/users/epicodus","html_url":"https://github.com/epicodus","followers_url":"https://api.github.com/users/epicodus/followers","following_url":"https://api.github.com/users/epicodus/following{/other_user}","gists_url":"https://api.github.com/users/epicodus/gists{/gist_id}","starred_url":"https://api.github.com/users/epicodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicodus/subscriptions","organizations_url":"https://api.github.com/users/epicodus/orgs","repos_url":"https://api.github.com/users/epicodus/repos","events_url":"https://api.github.com/users/epicodus/events{/privacy}","received_events_url":"https://api.github.com/users/epicodus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epicodus/epicenter","description":"Student portal of sorts","fork":false,"url":"https://api.github.com/repos/epicodus/epicenter","forks_url":"https://api.github.com/repos/epicodus/epicenter/forks","keys_url":"https://api.github.com/repos/epicodus/epicenter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epicodus/epicenter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epicodus/epicenter/teams","hooks_url":"https://api.github.com/repos/epicodus/epicenter/hooks","issue_events_url":"https://api.github.com/repos/epicodus/epicenter/issues/events{/number}","events_url":"https://api.github.com/repos/epicodus/epicenter/events","assignees_url":"https://api.github.com/repos/epicodus/epicenter/assignees{/user}","branches_url":"https://api.github.com/repos/epicodus/epicenter/branches{/branch}","tags_url":"https://api.github.com/repos/epicodus/epicenter/tags","blobs_url":"https://api.github.com/repos/epicodus/epicenter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epicodus/epicenter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epicodus/epicenter/git/refs{/sha}","trees_url":"https://api.github.com/repos/epicodus/epicenter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epicodus/epicenter/statuses/{sha}","languages_url":"https://api.github.com/repos/epicodus/epicenter/languages","stargazers_url":"https://api.github.com/repos/epicodus/epicenter/stargazers","contributors_url":"https://api.github.com/repos/epicodus/epicenter/contributors","subscribers_url":"https://api.github.com/repos/epicodus/epicenter/subscribers","subscription_url":"https://api.github.com/repos/epicodus/epicenter/subscription","commits_url":"https://api.github.com/repos/epicodus/epicenter/commits{/sha}","git_commits_url":"https://api.github.com/repos/epicodus/epicenter/git/commits{/sha}","comments_url":"https://api.github.com/repos/epicodus/epicenter/comments{/number}","issue_comment_url":"https://api.github.com/repos/epicodus/epicenter/issues/comments{/number}","contents_url":"https://api.github.com/repos/epicodus/epicenter/contents/{+path}","compare_url":"https://api.github.com/repos/epicodus/epicenter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epicodus/epicenter/merges","archive_url":"https://api.github.com/repos/epicodus/epicenter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epicodus/epicenter/downloads","issues_url":"https://api.github.com/repos/epicodus/epicenter/issues{/number}","pulls_url":"https://api.github.com/repos/epicodus/epicenter/pulls{/number}","milestones_url":"https://api.github.com/repos/epicodus/epicenter/milestones{/number}","notifications_url":"https://api.github.com/repos/epicodus/epicenter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epicodus/epicenter/labels{/name}","releases_url":"https://api.github.com/repos/epicodus/epicenter/releases{/id}","created_at":"2014-06-20T23:19:33Z","updated_at":"2015-04-11T01:02:16Z","pushed_at":"2015-04-13T18:35:45Z","git_url":"git://github.com/epicodus/epicenter.git","ssh_url":"git@github.com:epicodus/epicenter.git","clone_url":"https://github.com/epicodus/epicenter.git","svn_url":"https://github.com/epicodus/epicenter","homepage":"","size":4201,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":21,"forks":10,"open_issues":21,"watchers":3,"default_branch":"master"}},"base":{"label":"epicodus:master","ref":"master","sha":"94a274eccbd3ac96543fae5f4d7e9647956e0674","user":{"login":"epicodus","id":3527941,"avatar_url":"https://avatars.githubusercontent.com/u/3527941?v=3","gravatar_id":"","url":"https://api.github.com/users/epicodus","html_url":"https://github.com/epicodus","followers_url":"https://api.github.com/users/epicodus/followers","following_url":"https://api.github.com/users/epicodus/following{/other_user}","gists_url":"https://api.github.com/users/epicodus/gists{/gist_id}","starred_url":"https://api.github.com/users/epicodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicodus/subscriptions","organizations_url":"https://api.github.com/users/epicodus/orgs","repos_url":"https://api.github.com/users/epicodus/repos","events_url":"https://api.github.com/users/epicodus/events{/privacy}","received_events_url":"https://api.github.com/users/epicodus/received_events","type":"Organization","site_admin":false},"repo":{"id":21055360,"name":"epicenter","full_name":"epicodus/epicenter","owner":{"login":"epicodus","id":3527941,"avatar_url":"https://avatars.githubusercontent.com/u/3527941?v=3","gravatar_id":"","url":"https://api.github.com/users/epicodus","html_url":"https://github.com/epicodus","followers_url":"https://api.github.com/users/epicodus/followers","following_url":"https://api.github.com/users/epicodus/following{/other_user}","gists_url":"https://api.github.com/users/epicodus/gists{/gist_id}","starred_url":"https://api.github.com/users/epicodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicodus/subscriptions","organizations_url":"https://api.github.com/users/epicodus/orgs","repos_url":"https://api.github.com/users/epicodus/repos","events_url":"https://api.github.com/users/epicodus/events{/privacy}","received_events_url":"https://api.github.com/users/epicodus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epicodus/epicenter","description":"Student portal of sorts","fork":false,"url":"https://api.github.com/repos/epicodus/epicenter","forks_url":"https://api.github.com/repos/epicodus/epicenter/forks","keys_url":"https://api.github.com/repos/epicodus/epicenter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epicodus/epicenter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epicodus/epicenter/teams","hooks_url":"https://api.github.com/repos/epicodus/epicenter/hooks","issue_events_url":"https://api.github.com/repos/epicodus/epicenter/issues/events{/number}","events_url":"https://api.github.com/repos/epicodus/epicenter/events","assignees_url":"https://api.github.com/repos/epicodus/epicenter/assignees{/user}","branches_url":"https://api.github.com/repos/epicodus/epicenter/branches{/branch}","tags_url":"https://api.github.com/repos/epicodus/epicenter/tags","blobs_url":"https://api.github.com/repos/epicodus/epicenter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epicodus/epicenter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epicodus/epicenter/git/refs{/sha}","trees_url":"https://api.github.com/repos/epicodus/epicenter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epicodus/epicenter/statuses/{sha}","languages_url":"https://api.github.com/repos/epicodus/epicenter/languages","stargazers_url":"https://api.github.com/repos/epicodus/epicenter/stargazers","contributors_url":"https://api.github.com/repos/epicodus/epicenter/contributors","subscribers_url":"https://api.github.com/repos/epicodus/epicenter/subscribers","subscription_url":"https://api.github.com/repos/epicodus/epicenter/subscription","commits_url":"https://api.github.com/repos/epicodus/epicenter/commits{/sha}","git_commits_url":"https://api.github.com/repos/epicodus/epicenter/git/commits{/sha}","comments_url":"https://api.github.com/repos/epicodus/epicenter/comments{/number}","issue_comment_url":"https://api.github.com/repos/epicodus/epicenter/issues/comments{/number}","contents_url":"https://api.github.com/repos/epicodus/epicenter/contents/{+path}","compare_url":"https://api.github.com/repos/epicodus/epicenter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epicodus/epicenter/merges","archive_url":"https://api.github.com/repos/epicodus/epicenter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epicodus/epicenter/downloads","issues_url":"https://api.github.com/repos/epicodus/epicenter/issues{/number}","pulls_url":"https://api.github.com/repos/epicodus/epicenter/pulls{/number}","milestones_url":"https://api.github.com/repos/epicodus/epicenter/milestones{/number}","notifications_url":"https://api.github.com/repos/epicodus/epicenter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epicodus/epicenter/labels{/name}","releases_url":"https://api.github.com/repos/epicodus/epicenter/releases{/id}","created_at":"2014-06-20T23:19:33Z","updated_at":"2015-04-11T01:02:16Z","pushed_at":"2015-04-13T18:35:45Z","git_url":"git://github.com/epicodus/epicenter.git","ssh_url":"git@github.com:epicodus/epicenter.git","clone_url":"https://github.com/epicodus/epicenter.git","svn_url":"https://github.com/epicodus/epicenter","homepage":"","size":4201,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":21,"forks":10,"open_issues":21,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/epicodus/epicenter/pulls/158"},"html":{"href":"https://github.com/epicodus/epicenter/pull/158"},"issue":{"href":"https://api.github.com/repos/epicodus/epicenter/issues/158"},"comments":{"href":"https://api.github.com/repos/epicodus/epicenter/issues/158/comments"},"review_comments":{"href":"https://api.github.com/repos/epicodus/epicenter/pulls/158/comments"},"review_comment":{"href":"https://api.github.com/repos/epicodus/epicenter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/epicodus/epicenter/pulls/158/commits"},"statuses":{"href":"https://api.github.com/repos/epicodus/epicenter/statuses/5bf4f15e1e8dccc0f3171c0c45720ebc6e21896a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":18,"additions":54,"deletions":9,"changed_files":8}}