{"action":"created","comment":{"url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/comments/60686844","id":60686844,"diff_hunk":"@@ -11,5 +11,5 @@ class User < ActiveRecord::Base\n   validates :name, presence: true\n   validates :phone_num, presence: true\n   validates :profile_pic, presence: true\n-  validates :admin, presence: true, :inclusion => {:in => [true, false]}\n+  validates :admin, :inclusion => {:in => [true, false]}","path":"app/models/user.rb","position":5,"original_position":5,"commit_id":"495b693055423368d2d5e3601277de627bdfda1f","original_commit_id":"7d089eee427cbbd1833977f4e20155fac15dbd75","user":{"login":"DaneCarmichael","id":16695830,"avatar_url":"https://avatars.githubusercontent.com/u/16695830?v=3","gravatar_id":"","url":"https://api.github.com/users/DaneCarmichael","html_url":"https://github.com/DaneCarmichael","followers_url":"https://api.github.com/users/DaneCarmichael/followers","following_url":"https://api.github.com/users/DaneCarmichael/following{/other_user}","gists_url":"https://api.github.com/users/DaneCarmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/DaneCarmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaneCarmichael/subscriptions","organizations_url":"https://api.github.com/users/DaneCarmichael/orgs","repos_url":"https://api.github.com/users/DaneCarmichael/repos","events_url":"https://api.github.com/users/DaneCarmichael/events{/privacy}","received_events_url":"https://api.github.com/users/DaneCarmichael/received_events","type":"User","site_admin":false},"body":"I think this is fixed in my pending pull request, don't know if the duplication matters?","created_at":"2016-04-22T03:22:18Z","updated_at":"2016-04-22T03:22:18Z","html_url":"https://github.com/tiy-austin-ror/SpaceBook/pull/17#discussion_r60686844","pull_request_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/comments/60686844"},"html":{"href":"https://github.com/tiy-austin-ror/SpaceBook/pull/17#discussion_r60686844"},"pull_request":{"href":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/17","id":67453889,"html_url":"https://github.com/tiy-austin-ror/SpaceBook/pull/17","diff_url":"https://github.com/tiy-austin-ror/SpaceBook/pull/17.diff","patch_url":"https://github.com/tiy-austin-ror/SpaceBook/pull/17.patch","issue_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/issues/17","number":17,"state":"open","locked":false,"title":"Admin users","user":{"login":"VanAnderson","id":16739070,"avatar_url":"https://avatars.githubusercontent.com/u/16739070?v=3","gravatar_id":"","url":"https://api.github.com/users/VanAnderson","html_url":"https://github.com/VanAnderson","followers_url":"https://api.github.com/users/VanAnderson/followers","following_url":"https://api.github.com/users/VanAnderson/following{/other_user}","gists_url":"https://api.github.com/users/VanAnderson/gists{/gist_id}","starred_url":"https://api.github.com/users/VanAnderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VanAnderson/subscriptions","organizations_url":"https://api.github.com/users/VanAnderson/orgs","repos_url":"https://api.github.com/users/VanAnderson/repos","events_url":"https://api.github.com/users/VanAnderson/events{/privacy}","received_events_url":"https://api.github.com/users/VanAnderson/received_events","type":"User","site_admin":false},"body":"created basic seed file to work with admin users\r\ncreating a new room leads to the room show page\r\nadmin functions locked down to admin access\r\nadded working bootstrap flash message generator to application layout\r\n\r\nin addition to some fake accounts, two accounts have been created in the seed file for the purpose of testing functionality:\r\n\r\nnot_admin@spacebook.com\r\nadmin@spacebook.com\r\n\r\nboth have a password of \"password\"\r\n\r\nFor now on putting a flash message with the key name of the bootstrap class (:danger, :success, :warning, ect) should generate a neatly style alert box for a flash message.\r\n\r\nAlso properly implemented bootstrap!","created_at":"2016-04-22T03:19:50Z","updated_at":"2016-04-22T03:22:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9359f5b725b85ca287d2595570ee8f325d531e7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/17/commits","review_comments_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/17/comments","review_comment_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/issues/17/comments","statuses_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/statuses/495b693055423368d2d5e3601277de627bdfda1f","head":{"label":"tiy-austin-ror:admin_users","ref":"admin_users","sha":"495b693055423368d2d5e3601277de627bdfda1f","user":{"login":"tiy-austin-ror","id":13627537,"avatar_url":"https://avatars.githubusercontent.com/u/13627537?v=3","gravatar_id":"","url":"https://api.github.com/users/tiy-austin-ror","html_url":"https://github.com/tiy-austin-ror","followers_url":"https://api.github.com/users/tiy-austin-ror/followers","following_url":"https://api.github.com/users/tiy-austin-ror/following{/other_user}","gists_url":"https://api.github.com/users/tiy-austin-ror/gists{/gist_id}","starred_url":"https://api.github.com/users/tiy-austin-ror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiy-austin-ror/subscriptions","organizations_url":"https://api.github.com/users/tiy-austin-ror/orgs","repos_url":"https://api.github.com/users/tiy-austin-ror/repos","events_url":"https://api.github.com/users/tiy-austin-ror/events{/privacy}","received_events_url":"https://api.github.com/users/tiy-austin-ror/received_events","type":"Organization","site_admin":false},"repo":{"id":56802870,"name":"SpaceBook","full_name":"tiy-austin-ror/SpaceBook","owner":{"login":"tiy-austin-ror","id":13627537,"avatar_url":"https://avatars.githubusercontent.com/u/13627537?v=3","gravatar_id":"","url":"https://api.github.com/users/tiy-austin-ror","html_url":"https://github.com/tiy-austin-ror","followers_url":"https://api.github.com/users/tiy-austin-ror/followers","following_url":"https://api.github.com/users/tiy-austin-ror/following{/other_user}","gists_url":"https://api.github.com/users/tiy-austin-ror/gists{/gist_id}","starred_url":"https://api.github.com/users/tiy-austin-ror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiy-austin-ror/subscriptions","organizations_url":"https://api.github.com/users/tiy-austin-ror/orgs","repos_url":"https://api.github.com/users/tiy-austin-ror/repos","events_url":"https://api.github.com/users/tiy-austin-ror/events{/privacy}","received_events_url":"https://api.github.com/users/tiy-austin-ror/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tiy-austin-ror/SpaceBook","description":"Conference Room Schedule and Management Application","fork":false,"url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook","forks_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/forks","keys_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/teams","hooks_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/hooks","issue_events_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/issues/events{/number}","events_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/events","assignees_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/assignees{/user}","branches_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/branches{/branch}","tags_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/tags","blobs_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/statuses/{sha}","languages_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/languages","stargazers_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/stargazers","contributors_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/contributors","subscribers_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/subscribers","subscription_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/subscription","commits_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/contents/{+path}","compare_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/merges","archive_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/downloads","issues_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/issues{/number}","pulls_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls{/number}","milestones_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/milestones{/number}","notifications_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/labels{/name}","releases_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/releases{/id}","deployments_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/deployments","created_at":"2016-04-21T20:14:48Z","updated_at":"2016-04-21T20:25:11Z","pushed_at":"2016-04-22T03:21:57Z","git_url":"git://github.com/tiy-austin-ror/SpaceBook.git","ssh_url":"git@github.com:tiy-austin-ror/SpaceBook.git","clone_url":"https://github.com/tiy-austin-ror/SpaceBook.git","svn_url":"https://github.com/tiy-austin-ror/SpaceBook","homepage":null,"size":150,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"tiy-austin-ror:master","ref":"master","sha":"19df3ad50ba18cac1daa861b473832c9bc3b560b","user":{"login":"tiy-austin-ror","id":13627537,"avatar_url":"https://avatars.githubusercontent.com/u/13627537?v=3","gravatar_id":"","url":"https://api.github.com/users/tiy-austin-ror","html_url":"https://github.com/tiy-austin-ror","followers_url":"https://api.github.com/users/tiy-austin-ror/followers","following_url":"https://api.github.com/users/tiy-austin-ror/following{/other_user}","gists_url":"https://api.github.com/users/tiy-austin-ror/gists{/gist_id}","starred_url":"https://api.github.com/users/tiy-austin-ror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiy-austin-ror/subscriptions","organizations_url":"https://api.github.com/users/tiy-austin-ror/orgs","repos_url":"https://api.github.com/users/tiy-austin-ror/repos","events_url":"https://api.github.com/users/tiy-austin-ror/events{/privacy}","received_events_url":"https://api.github.com/users/tiy-austin-ror/received_events","type":"Organization","site_admin":false},"repo":{"id":56802870,"name":"SpaceBook","full_name":"tiy-austin-ror/SpaceBook","owner":{"login":"tiy-austin-ror","id":13627537,"avatar_url":"https://avatars.githubusercontent.com/u/13627537?v=3","gravatar_id":"","url":"https://api.github.com/users/tiy-austin-ror","html_url":"https://github.com/tiy-austin-ror","followers_url":"https://api.github.com/users/tiy-austin-ror/followers","following_url":"https://api.github.com/users/tiy-austin-ror/following{/other_user}","gists_url":"https://api.github.com/users/tiy-austin-ror/gists{/gist_id}","starred_url":"https://api.github.com/users/tiy-austin-ror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiy-austin-ror/subscriptions","organizations_url":"https://api.github.com/users/tiy-austin-ror/orgs","repos_url":"https://api.github.com/users/tiy-austin-ror/repos","events_url":"https://api.github.com/users/tiy-austin-ror/events{/privacy}","received_events_url":"https://api.github.com/users/tiy-austin-ror/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tiy-austin-ror/SpaceBook","description":"Conference Room Schedule and Management Application","fork":false,"url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook","forks_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/forks","keys_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/teams","hooks_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/hooks","issue_events_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/issues/events{/number}","events_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/events","assignees_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/assignees{/user}","branches_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/branches{/branch}","tags_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/tags","blobs_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/statuses/{sha}","languages_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/languages","stargazers_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/stargazers","contributors_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/contributors","subscribers_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/subscribers","subscription_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/subscription","commits_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/contents/{+path}","compare_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/merges","archive_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/downloads","issues_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/issues{/number}","pulls_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls{/number}","milestones_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/milestones{/number}","notifications_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/labels{/name}","releases_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/releases{/id}","deployments_url":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/deployments","created_at":"2016-04-21T20:14:48Z","updated_at":"2016-04-21T20:25:11Z","pushed_at":"2016-04-22T03:21:57Z","git_url":"git://github.com/tiy-austin-ror/SpaceBook.git","ssh_url":"git@github.com:tiy-austin-ror/SpaceBook.git","clone_url":"https://github.com/tiy-austin-ror/SpaceBook.git","svn_url":"https://github.com/tiy-austin-ror/SpaceBook","homepage":null,"size":150,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/17"},"html":{"href":"https://github.com/tiy-austin-ror/SpaceBook/pull/17"},"issue":{"href":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/issues/17"},"comments":{"href":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/tiy-austin-ror/SpaceBook/statuses/495b693055423368d2d5e3601277de627bdfda1f"}}}}