{"action":"created","comment":{"url":"https://api.github.com/repos/ryanflach/the_pivot/pulls/comments/76284127","id":76284127,"diff_hunk":"@@ -1,14 +1,19 @@\n class Venue < ApplicationRecord\n   has_many :events, dependent: :destroy\n   has_many :categories, through: :events\n+  has_attached_file :upload_image,\n+                    default_url: 'http://i.imgur.com/5p6sEsX.jpg'\n   belongs_to :admin, class_name: \"User\", foreign_key: :user_id\n   validates :name, presence: true, uniqueness: true\n-  validates :image_path, presence: true\n   validates :city, presence: true\n   validates :state, presence: true\n   validates :slug, presence: true, uniqueness: { case_sensitive: false }\n+  validates_attachment_content_type :upload_image,\n+                                    :content_type => /\\Aimage\\/.*\\Z/","path":"app/models/venue.rb","position":13,"original_position":13,"commit_id":"b43ef292787da71bceae6d8771f258c434dea0ee","original_commit_id":"b43ef292787da71bceae6d8771f258c434dea0ee","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Use the new Ruby 1.9 hash syntax.<br>Use `%r` around regular expression.","created_at":"2016-08-25T17:05:31Z","updated_at":"2016-08-25T17:05:31Z","html_url":"https://github.com/ryanflach/the_pivot/pull/152#discussion_r76284127","pull_request_url":"https://api.github.com/repos/ryanflach/the_pivot/pulls/152","_links":{"self":{"href":"https://api.github.com/repos/ryanflach/the_pivot/pulls/comments/76284127"},"html":{"href":"https://github.com/ryanflach/the_pivot/pull/152#discussion_r76284127"},"pull_request":{"href":"https://api.github.com/repos/ryanflach/the_pivot/pulls/152"}}},"pull_request":{"url":"https://api.github.com/repos/ryanflach/the_pivot/pulls/152","id":82757140,"html_url":"https://github.com/ryanflach/the_pivot/pull/152","diff_url":"https://github.com/ryanflach/the_pivot/pull/152.diff","patch_url":"https://github.com/ryanflach/the_pivot/pull/152.patch","issue_url":"https://api.github.com/repos/ryanflach/the_pivot/issues/152","number":152,"state":"open","locked":false,"title":"Final styling updates and refactoring","user":{"login":"ryanflach","id":11306104,"avatar_url":"https://avatars.githubusercontent.com/u/11306104?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanflach","html_url":"https://github.com/ryanflach","followers_url":"https://api.github.com/users/ryanflach/followers","following_url":"https://api.github.com/users/ryanflach/following{/other_user}","gists_url":"https://api.github.com/users/ryanflach/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanflach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanflach/subscriptions","organizations_url":"https://api.github.com/users/ryanflach/orgs","repos_url":"https://api.github.com/users/ryanflach/repos","events_url":"https://api.github.com/users/ryanflach/events{/privacy}","received_events_url":"https://api.github.com/users/ryanflach/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-25T17:05:08Z","updated_at":"2016-08-25T17:05:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"322d71e15baa7c2b2738cb4757c15c361de12540","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ryanflach/the_pivot/pulls/152/commits","review_comments_url":"https://api.github.com/repos/ryanflach/the_pivot/pulls/152/comments","review_comment_url":"https://api.github.com/repos/ryanflach/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryanflach/the_pivot/issues/152/comments","statuses_url":"https://api.github.com/repos/ryanflach/the_pivot/statuses/b43ef292787da71bceae6d8771f258c434dea0ee","head":{"label":"ryanflach:develop","ref":"develop","sha":"b43ef292787da71bceae6d8771f258c434dea0ee","user":{"login":"ryanflach","id":11306104,"avatar_url":"https://avatars.githubusercontent.com/u/11306104?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanflach","html_url":"https://github.com/ryanflach","followers_url":"https://api.github.com/users/ryanflach/followers","following_url":"https://api.github.com/users/ryanflach/following{/other_user}","gists_url":"https://api.github.com/users/ryanflach/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanflach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanflach/subscriptions","organizations_url":"https://api.github.com/users/ryanflach/orgs","repos_url":"https://api.github.com/users/ryanflach/repos","events_url":"https://api.github.com/users/ryanflach/events{/privacy}","received_events_url":"https://api.github.com/users/ryanflach/received_events","type":"User","site_admin":false},"repo":{"id":65755296,"name":"the_pivot","full_name":"ryanflach/the_pivot","owner":{"login":"ryanflach","id":11306104,"avatar_url":"https://avatars.githubusercontent.com/u/11306104?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanflach","html_url":"https://github.com/ryanflach","followers_url":"https://api.github.com/users/ryanflach/followers","following_url":"https://api.github.com/users/ryanflach/following{/other_user}","gists_url":"https://api.github.com/users/ryanflach/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanflach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanflach/subscriptions","organizations_url":"https://api.github.com/users/ryanflach/orgs","repos_url":"https://api.github.com/users/ryanflach/repos","events_url":"https://api.github.com/users/ryanflach/events{/privacy}","received_events_url":"https://api.github.com/users/ryanflach/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryanflach/the_pivot","description":"Turing Mod3 week 1-2 group project","fork":false,"url":"https://api.github.com/repos/ryanflach/the_pivot","forks_url":"https://api.github.com/repos/ryanflach/the_pivot/forks","keys_url":"https://api.github.com/repos/ryanflach/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryanflach/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryanflach/the_pivot/teams","hooks_url":"https://api.github.com/repos/ryanflach/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/ryanflach/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/ryanflach/the_pivot/events","assignees_url":"https://api.github.com/repos/ryanflach/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/ryanflach/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/ryanflach/the_pivot/tags","blobs_url":"https://api.github.com/repos/ryanflach/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryanflach/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryanflach/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryanflach/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryanflach/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/ryanflach/the_pivot/languages","stargazers_url":"https://api.github.com/repos/ryanflach/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/ryanflach/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/ryanflach/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/ryanflach/the_pivot/subscription","commits_url":"https://api.github.com/repos/ryanflach/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryanflach/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryanflach/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryanflach/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryanflach/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/ryanflach/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryanflach/the_pivot/merges","archive_url":"https://api.github.com/repos/ryanflach/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryanflach/the_pivot/downloads","issues_url":"https://api.github.com/repos/ryanflach/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/ryanflach/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/ryanflach/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/ryanflach/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryanflach/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/ryanflach/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/ryanflach/the_pivot/deployments","created_at":"2016-08-15T18:31:40Z","updated_at":"2016-08-15T18:33:05Z","pushed_at":"2016-08-25T17:05:08Z","git_url":"git://github.com/ryanflach/the_pivot.git","ssh_url":"git@github.com:ryanflach/the_pivot.git","clone_url":"https://github.com/ryanflach/the_pivot.git","svn_url":"https://github.com/ryanflach/the_pivot","homepage":"https://github.com/turingschool/lesson_plans/blob/master/ruby_03-professional_rails_applications/the_pivot.md","size":2450,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ryanflach:master","ref":"master","sha":"4cc917ebfcd43da6b46adb0dcaf46d472201239c","user":{"login":"ryanflach","id":11306104,"avatar_url":"https://avatars.githubusercontent.com/u/11306104?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanflach","html_url":"https://github.com/ryanflach","followers_url":"https://api.github.com/users/ryanflach/followers","following_url":"https://api.github.com/users/ryanflach/following{/other_user}","gists_url":"https://api.github.com/users/ryanflach/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanflach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanflach/subscriptions","organizations_url":"https://api.github.com/users/ryanflach/orgs","repos_url":"https://api.github.com/users/ryanflach/repos","events_url":"https://api.github.com/users/ryanflach/events{/privacy}","received_events_url":"https://api.github.com/users/ryanflach/received_events","type":"User","site_admin":false},"repo":{"id":65755296,"name":"the_pivot","full_name":"ryanflach/the_pivot","owner":{"login":"ryanflach","id":11306104,"avatar_url":"https://avatars.githubusercontent.com/u/11306104?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanflach","html_url":"https://github.com/ryanflach","followers_url":"https://api.github.com/users/ryanflach/followers","following_url":"https://api.github.com/users/ryanflach/following{/other_user}","gists_url":"https://api.github.com/users/ryanflach/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanflach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanflach/subscriptions","organizations_url":"https://api.github.com/users/ryanflach/orgs","repos_url":"https://api.github.com/users/ryanflach/repos","events_url":"https://api.github.com/users/ryanflach/events{/privacy}","received_events_url":"https://api.github.com/users/ryanflach/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryanflach/the_pivot","description":"Turing Mod3 week 1-2 group project","fork":false,"url":"https://api.github.com/repos/ryanflach/the_pivot","forks_url":"https://api.github.com/repos/ryanflach/the_pivot/forks","keys_url":"https://api.github.com/repos/ryanflach/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryanflach/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryanflach/the_pivot/teams","hooks_url":"https://api.github.com/repos/ryanflach/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/ryanflach/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/ryanflach/the_pivot/events","assignees_url":"https://api.github.com/repos/ryanflach/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/ryanflach/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/ryanflach/the_pivot/tags","blobs_url":"https://api.github.com/repos/ryanflach/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryanflach/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryanflach/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryanflach/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryanflach/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/ryanflach/the_pivot/languages","stargazers_url":"https://api.github.com/repos/ryanflach/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/ryanflach/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/ryanflach/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/ryanflach/the_pivot/subscription","commits_url":"https://api.github.com/repos/ryanflach/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryanflach/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryanflach/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryanflach/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryanflach/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/ryanflach/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryanflach/the_pivot/merges","archive_url":"https://api.github.com/repos/ryanflach/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryanflach/the_pivot/downloads","issues_url":"https://api.github.com/repos/ryanflach/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/ryanflach/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/ryanflach/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/ryanflach/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryanflach/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/ryanflach/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/ryanflach/the_pivot/deployments","created_at":"2016-08-15T18:31:40Z","updated_at":"2016-08-15T18:33:05Z","pushed_at":"2016-08-25T17:05:08Z","git_url":"git://github.com/ryanflach/the_pivot.git","ssh_url":"git@github.com:ryanflach/the_pivot.git","clone_url":"https://github.com/ryanflach/the_pivot.git","svn_url":"https://github.com/ryanflach/the_pivot","homepage":"https://github.com/turingschool/lesson_plans/blob/master/ruby_03-professional_rails_applications/the_pivot.md","size":2450,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ryanflach/the_pivot/pulls/152"},"html":{"href":"https://github.com/ryanflach/the_pivot/pull/152"},"issue":{"href":"https://api.github.com/repos/ryanflach/the_pivot/issues/152"},"comments":{"href":"https://api.github.com/repos/ryanflach/the_pivot/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/ryanflach/the_pivot/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/ryanflach/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryanflach/the_pivot/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/ryanflach/the_pivot/statuses/b43ef292787da71bceae6d8771f258c434dea0ee"}}}}
{"actor":{"display_login":"houndci-bot"}}