{"action":"created","comment":{"url":"https://api.github.com/repos/Sabotnik/nomster/pulls/comments/27030974","id":27030974,"diff_hunk":"@@ -1,4 +1,5 @@\n class Photo < ActiveRecord::Base\n \tbelongs_to :user\n \tbelongs_to :place\n+\tmount_uploader :picture, PictureUploader","path":"app/models/photo.rb","position":4,"original_position":4,"commit_id":"a074cc5980e66e219594dd7315a93a149d7c6d98","original_commit_id":"a074cc5980e66e219594dd7315a93a149d7c6d98","user":{"login":"kenmazaika","id":233615,"avatar_url":"https://avatars.githubusercontent.com/u/233615?v=3","gravatar_id":"","url":"https://api.github.com/users/kenmazaika","html_url":"https://github.com/kenmazaika","followers_url":"https://api.github.com/users/kenmazaika/followers","following_url":"https://api.github.com/users/kenmazaika/following{/other_user}","gists_url":"https://api.github.com/users/kenmazaika/gists{/gist_id}","starred_url":"https://api.github.com/users/kenmazaika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenmazaika/subscriptions","organizations_url":"https://api.github.com/users/kenmazaika/orgs","repos_url":"https://api.github.com/users/kenmazaika/repos","events_url":"https://api.github.com/users/kenmazaika/events{/privacy}","received_events_url":"https://api.github.com/users/kenmazaika/received_events","type":"User","site_admin":false},"body":"And finally, if you don't add this line, you won't be prompted to upload a file.  Instead you'll be able to enter text, which is not what you want.  You want to have a little browse button where you can find a file.","created_at":"2015-03-24T14:16:55Z","updated_at":"2015-03-24T14:16:55Z","html_url":"https://github.com/Sabotnik/nomster/pull/1#discussion_r27030974","pull_request_url":"https://api.github.com/repos/Sabotnik/nomster/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Sabotnik/nomster/pulls/comments/27030974"},"html":{"href":"https://github.com/Sabotnik/nomster/pull/1#discussion_r27030974"},"pull_request":{"href":"https://api.github.com/repos/Sabotnik/nomster/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Sabotnik/nomster/pulls/1","id":31829510,"html_url":"https://github.com/Sabotnik/nomster/pull/1","diff_url":"https://github.com/Sabotnik/nomster/pull/1.diff","patch_url":"https://github.com/Sabotnik/nomster/pull/1.patch","issue_url":"https://api.github.com/repos/Sabotnik/nomster/issues/1","number":1,"state":"open","locked":false,"title":"Fix the photos controller","user":{"login":"kenmazaika","id":233615,"avatar_url":"https://avatars.githubusercontent.com/u/233615?v=3","gravatar_id":"","url":"https://api.github.com/users/kenmazaika","html_url":"https://github.com/kenmazaika","followers_url":"https://api.github.com/users/kenmazaika/followers","following_url":"https://api.github.com/users/kenmazaika/following{/other_user}","gists_url":"https://api.github.com/users/kenmazaika/gists{/gist_id}","starred_url":"https://api.github.com/users/kenmazaika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenmazaika/subscriptions","organizations_url":"https://api.github.com/users/kenmazaika/orgs","repos_url":"https://api.github.com/users/kenmazaika/repos","events_url":"https://api.github.com/users/kenmazaika/events{/privacy}","received_events_url":"https://api.github.com/users/kenmazaika/received_events","type":"User","site_admin":false},"body":"Hey Dave - \r\n\r\nI'll make some notes about the changes I needed to do to get image uploading working inline.\r\n\r\n----\r\n\r\nAs a side note, this is a GitHub pull request.  This is how I can show you code that I think you should add to your project.  It allows you to look at the code, you'll see the green code is code that's added and the red is code that's deleted.  The \"Files changed\" tab will show you the code.\r\n\r\n\"Commits\" will show you a listing of the individual commits I'm trying to send you.  And this tab, the conversation tab you can use to communicate about the change.\r\n\r\nIf you want to suck in all this code into your project you can by pressing the green merge button.  After you press the merge button, you'll have to update your web dev environment to have the latest updates from GitHub and to do that you can run this command:\r\n\r\n```\r\ngit pull origin master\r\n```\r\n\r\nHope this helps.\r\n\r\nAloha,\r\nKen\r\n","created_at":"2015-03-24T14:12:05Z","updated_at":"2015-03-24T14:16:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91dbbddb2c1657e68be47734c4ac820d4aaebde4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sabotnik/nomster/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Sabotnik/nomster/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Sabotnik/nomster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sabotnik/nomster/issues/1/comments","statuses_url":"https://api.github.com/repos/Sabotnik/nomster/statuses/a074cc5980e66e219594dd7315a93a149d7c6d98","head":{"label":"kenmazaika:fix-image","ref":"fix-image","sha":"a074cc5980e66e219594dd7315a93a149d7c6d98","user":{"login":"kenmazaika","id":233615,"avatar_url":"https://avatars.githubusercontent.com/u/233615?v=3","gravatar_id":"","url":"https://api.github.com/users/kenmazaika","html_url":"https://github.com/kenmazaika","followers_url":"https://api.github.com/users/kenmazaika/followers","following_url":"https://api.github.com/users/kenmazaika/following{/other_user}","gists_url":"https://api.github.com/users/kenmazaika/gists{/gist_id}","starred_url":"https://api.github.com/users/kenmazaika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenmazaika/subscriptions","organizations_url":"https://api.github.com/users/kenmazaika/orgs","repos_url":"https://api.github.com/users/kenmazaika/repos","events_url":"https://api.github.com/users/kenmazaika/events{/privacy}","received_events_url":"https://api.github.com/users/kenmazaika/received_events","type":"User","site_admin":false},"repo":{"id":32802587,"name":"nomster-8","full_name":"kenmazaika/nomster-8","owner":{"login":"kenmazaika","id":233615,"avatar_url":"https://avatars.githubusercontent.com/u/233615?v=3","gravatar_id":"","url":"https://api.github.com/users/kenmazaika","html_url":"https://github.com/kenmazaika","followers_url":"https://api.github.com/users/kenmazaika/followers","following_url":"https://api.github.com/users/kenmazaika/following{/other_user}","gists_url":"https://api.github.com/users/kenmazaika/gists{/gist_id}","starred_url":"https://api.github.com/users/kenmazaika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenmazaika/subscriptions","organizations_url":"https://api.github.com/users/kenmazaika/orgs","repos_url":"https://api.github.com/users/kenmazaika/repos","events_url":"https://api.github.com/users/kenmazaika/events{/privacy}","received_events_url":"https://api.github.com/users/kenmazaika/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kenmazaika/nomster-8","description":"","fork":true,"url":"https://api.github.com/repos/kenmazaika/nomster-8","forks_url":"https://api.github.com/repos/kenmazaika/nomster-8/forks","keys_url":"https://api.github.com/repos/kenmazaika/nomster-8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kenmazaika/nomster-8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kenmazaika/nomster-8/teams","hooks_url":"https://api.github.com/repos/kenmazaika/nomster-8/hooks","issue_events_url":"https://api.github.com/repos/kenmazaika/nomster-8/issues/events{/number}","events_url":"https://api.github.com/repos/kenmazaika/nomster-8/events","assignees_url":"https://api.github.com/repos/kenmazaika/nomster-8/assignees{/user}","branches_url":"https://api.github.com/repos/kenmazaika/nomster-8/branches{/branch}","tags_url":"https://api.github.com/repos/kenmazaika/nomster-8/tags","blobs_url":"https://api.github.com/repos/kenmazaika/nomster-8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kenmazaika/nomster-8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kenmazaika/nomster-8/git/refs{/sha}","trees_url":"https://api.github.com/repos/kenmazaika/nomster-8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kenmazaika/nomster-8/statuses/{sha}","languages_url":"https://api.github.com/repos/kenmazaika/nomster-8/languages","stargazers_url":"https://api.github.com/repos/kenmazaika/nomster-8/stargazers","contributors_url":"https://api.github.com/repos/kenmazaika/nomster-8/contributors","subscribers_url":"https://api.github.com/repos/kenmazaika/nomster-8/subscribers","subscription_url":"https://api.github.com/repos/kenmazaika/nomster-8/subscription","commits_url":"https://api.github.com/repos/kenmazaika/nomster-8/commits{/sha}","git_commits_url":"https://api.github.com/repos/kenmazaika/nomster-8/git/commits{/sha}","comments_url":"https://api.github.com/repos/kenmazaika/nomster-8/comments{/number}","issue_comment_url":"https://api.github.com/repos/kenmazaika/nomster-8/issues/comments{/number}","contents_url":"https://api.github.com/repos/kenmazaika/nomster-8/contents/{+path}","compare_url":"https://api.github.com/repos/kenmazaika/nomster-8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kenmazaika/nomster-8/merges","archive_url":"https://api.github.com/repos/kenmazaika/nomster-8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kenmazaika/nomster-8/downloads","issues_url":"https://api.github.com/repos/kenmazaika/nomster-8/issues{/number}","pulls_url":"https://api.github.com/repos/kenmazaika/nomster-8/pulls{/number}","milestones_url":"https://api.github.com/repos/kenmazaika/nomster-8/milestones{/number}","notifications_url":"https://api.github.com/repos/kenmazaika/nomster-8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kenmazaika/nomster-8/labels{/name}","releases_url":"https://api.github.com/repos/kenmazaika/nomster-8/releases{/id}","created_at":"2015-03-24T14:07:57Z","updated_at":"2015-03-24T14:07:58Z","pushed_at":"2015-03-24T14:16:08Z","git_url":"git://github.com/kenmazaika/nomster-8.git","ssh_url":"git@github.com:kenmazaika/nomster-8.git","clone_url":"https://github.com/kenmazaika/nomster-8.git","svn_url":"https://github.com/kenmazaika/nomster-8","homepage":null,"size":500,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Sabotnik:master","ref":"master","sha":"3d651f49f2c68f21df0b876c0de30b31dbe47cf8","user":{"login":"Sabotnik","id":10638937,"avatar_url":"https://avatars.githubusercontent.com/u/10638937?v=3","gravatar_id":"","url":"https://api.github.com/users/Sabotnik","html_url":"https://github.com/Sabotnik","followers_url":"https://api.github.com/users/Sabotnik/followers","following_url":"https://api.github.com/users/Sabotnik/following{/other_user}","gists_url":"https://api.github.com/users/Sabotnik/gists{/gist_id}","starred_url":"https://api.github.com/users/Sabotnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sabotnik/subscriptions","organizations_url":"https://api.github.com/users/Sabotnik/orgs","repos_url":"https://api.github.com/users/Sabotnik/repos","events_url":"https://api.github.com/users/Sabotnik/events{/privacy}","received_events_url":"https://api.github.com/users/Sabotnik/received_events","type":"User","site_admin":false},"repo":{"id":30982301,"name":"nomster","full_name":"Sabotnik/nomster","owner":{"login":"Sabotnik","id":10638937,"avatar_url":"https://avatars.githubusercontent.com/u/10638937?v=3","gravatar_id":"","url":"https://api.github.com/users/Sabotnik","html_url":"https://github.com/Sabotnik","followers_url":"https://api.github.com/users/Sabotnik/followers","following_url":"https://api.github.com/users/Sabotnik/following{/other_user}","gists_url":"https://api.github.com/users/Sabotnik/gists{/gist_id}","starred_url":"https://api.github.com/users/Sabotnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sabotnik/subscriptions","organizations_url":"https://api.github.com/users/Sabotnik/orgs","repos_url":"https://api.github.com/users/Sabotnik/repos","events_url":"https://api.github.com/users/Sabotnik/events{/privacy}","received_events_url":"https://api.github.com/users/Sabotnik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sabotnik/nomster","description":"","fork":false,"url":"https://api.github.com/repos/Sabotnik/nomster","forks_url":"https://api.github.com/repos/Sabotnik/nomster/forks","keys_url":"https://api.github.com/repos/Sabotnik/nomster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sabotnik/nomster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sabotnik/nomster/teams","hooks_url":"https://api.github.com/repos/Sabotnik/nomster/hooks","issue_events_url":"https://api.github.com/repos/Sabotnik/nomster/issues/events{/number}","events_url":"https://api.github.com/repos/Sabotnik/nomster/events","assignees_url":"https://api.github.com/repos/Sabotnik/nomster/assignees{/user}","branches_url":"https://api.github.com/repos/Sabotnik/nomster/branches{/branch}","tags_url":"https://api.github.com/repos/Sabotnik/nomster/tags","blobs_url":"https://api.github.com/repos/Sabotnik/nomster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sabotnik/nomster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sabotnik/nomster/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sabotnik/nomster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sabotnik/nomster/statuses/{sha}","languages_url":"https://api.github.com/repos/Sabotnik/nomster/languages","stargazers_url":"https://api.github.com/repos/Sabotnik/nomster/stargazers","contributors_url":"https://api.github.com/repos/Sabotnik/nomster/contributors","subscribers_url":"https://api.github.com/repos/Sabotnik/nomster/subscribers","subscription_url":"https://api.github.com/repos/Sabotnik/nomster/subscription","commits_url":"https://api.github.com/repos/Sabotnik/nomster/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sabotnik/nomster/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sabotnik/nomster/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sabotnik/nomster/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sabotnik/nomster/contents/{+path}","compare_url":"https://api.github.com/repos/Sabotnik/nomster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sabotnik/nomster/merges","archive_url":"https://api.github.com/repos/Sabotnik/nomster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sabotnik/nomster/downloads","issues_url":"https://api.github.com/repos/Sabotnik/nomster/issues{/number}","pulls_url":"https://api.github.com/repos/Sabotnik/nomster/pulls{/number}","milestones_url":"https://api.github.com/repos/Sabotnik/nomster/milestones{/number}","notifications_url":"https://api.github.com/repos/Sabotnik/nomster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sabotnik/nomster/labels{/name}","releases_url":"https://api.github.com/repos/Sabotnik/nomster/releases{/id}","created_at":"2015-02-18T19:25:36Z","updated_at":"2015-03-24T05:32:42Z","pushed_at":"2015-03-24T14:16:08Z","git_url":"git://github.com/Sabotnik/nomster.git","ssh_url":"git@github.com:Sabotnik/nomster.git","clone_url":"https://github.com/Sabotnik/nomster.git","svn_url":"https://github.com/Sabotnik/nomster","homepage":null,"size":500,"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/Sabotnik/nomster/pulls/1"},"html":{"href":"https://github.com/Sabotnik/nomster/pull/1"},"issue":{"href":"https://api.github.com/repos/Sabotnik/nomster/issues/1"},"comments":{"href":"https://api.github.com/repos/Sabotnik/nomster/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Sabotnik/nomster/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Sabotnik/nomster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sabotnik/nomster/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Sabotnik/nomster/statuses/a074cc5980e66e219594dd7315a93a149d7c6d98"}}}}