{"action":"created","comment":{"url":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/comments/40490523","id":40490523,"diff_hunk":"@@ -0,0 +1,28 @@\n+require 'sinatra/base'\n+# require 'byebug'\n+# require 'pry'\n+require 'tilt/erb'\n+require 'data_mapper'\n+require 'dm-migrations'\n+\n+class App < Sinatra::Base\n+  # helpers Sinatra::FormHelpers\n+  set :views, proc {File.join(root, '..', 'views')}\n+  enable :sessions\n+  set :session_secret, '121212121212'\n+  use Rack::Session::Pool\n+  env = ENV['RACK_ENV'] || \"development\"\n+  DataMapper.setup(:default, ENV['DATABASE_URL'] || \"postgres://localhost/ohchit_#{env}\")\n+\n+  # DataMapper::Logger.new($stdout, :debug)\n+  DataMapper::Model.raise_on_save_failure = true\n+  DataMapper.finalize\n+  #DataMapper.auto_migrate!\n+  DataMapper.auto_upgrade!\n+  #byebug\n+  get '/' do\n+    erb :index\n+  end\n+  # start the server if ruby file executed directly\n+  run! if app_file == $0\n+end","path":"lib/app.rb","position":null,"original_position":28,"commit_id":"cc291c74702a07e148c47f725704162369116054","original_commit_id":"40b5886c248a5f173d8151734c584d6769ec08c9","user":{"login":"tochman","id":5248170,"avatar_url":"https://avatars.githubusercontent.com/u/5248170?v=3","gravatar_id":"","url":"https://api.github.com/users/tochman","html_url":"https://github.com/tochman","followers_url":"https://api.github.com/users/tochman/followers","following_url":"https://api.github.com/users/tochman/following{/other_user}","gists_url":"https://api.github.com/users/tochman/gists{/gist_id}","starred_url":"https://api.github.com/users/tochman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tochman/subscriptions","organizations_url":"https://api.github.com/users/tochman/orgs","repos_url":"https://api.github.com/users/tochman/repos","events_url":"https://api.github.com/users/tochman/events{/privacy}","received_events_url":"https://api.github.com/users/tochman/received_events","type":"User","site_admin":false},"body":"Again, there should not be any confusion about the benefits of writing code. Chris, you even copied over lines that are not applicable in this project - even the debugger lines. In your opinion, is this a good workflow?","created_at":"2015-09-26T05:48:05Z","updated_at":"2015-09-26T05:48:05Z","html_url":"https://github.com/MakersSweden/chitter-challenge/pull/3#discussion_r40490523","pull_request_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/comments/40490523"},"html":{"href":"https://github.com/MakersSweden/chitter-challenge/pull/3#discussion_r40490523"},"pull_request":{"href":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/3","id":46045542,"html_url":"https://github.com/MakersSweden/chitter-challenge/pull/3","diff_url":"https://github.com/MakersSweden/chitter-challenge/pull/3.diff","patch_url":"https://github.com/MakersSweden/chitter-challenge/pull/3.patch","issue_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/issues/3","number":3,"state":"open","locked":false,"title":"Submitting My Chitter Weekend Challenge","user":{"login":"chrisco","id":37781,"avatar_url":"https://avatars.githubusercontent.com/u/37781?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisco","html_url":"https://github.com/chrisco","followers_url":"https://api.github.com/users/chrisco/followers","following_url":"https://api.github.com/users/chrisco/following{/other_user}","gists_url":"https://api.github.com/users/chrisco/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisco/subscriptions","organizations_url":"https://api.github.com/users/chrisco/orgs","repos_url":"https://api.github.com/users/chrisco/repos","events_url":"https://api.github.com/users/chrisco/events{/privacy}","received_events_url":"https://api.github.com/users/chrisco/received_events","type":"User","site_admin":false},"body":"This pull request will be updated at least once between now and Monday morning at 9:00 AM.  I will include photos of LoFi mockups and code.  The project is already live on the web at https://ohchit.herokuapp.com","created_at":"2015-09-25T18:55:56Z","updated_at":"2015-09-26T05:48:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e91a1188c9a18d218d118e2f12031a316808f0ac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/3/commits","review_comments_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/3/comments","review_comment_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/issues/3/comments","statuses_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/statuses/cc291c74702a07e148c47f725704162369116054","head":{"label":"chrisco:master","ref":"master","sha":"cc291c74702a07e148c47f725704162369116054","user":{"login":"chrisco","id":37781,"avatar_url":"https://avatars.githubusercontent.com/u/37781?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisco","html_url":"https://github.com/chrisco","followers_url":"https://api.github.com/users/chrisco/followers","following_url":"https://api.github.com/users/chrisco/following{/other_user}","gists_url":"https://api.github.com/users/chrisco/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisco/subscriptions","organizations_url":"https://api.github.com/users/chrisco/orgs","repos_url":"https://api.github.com/users/chrisco/repos","events_url":"https://api.github.com/users/chrisco/events{/privacy}","received_events_url":"https://api.github.com/users/chrisco/received_events","type":"User","site_admin":false},"repo":{"id":43134825,"name":"chitter-challenge","full_name":"chrisco/chitter-challenge","owner":{"login":"chrisco","id":37781,"avatar_url":"https://avatars.githubusercontent.com/u/37781?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisco","html_url":"https://github.com/chrisco","followers_url":"https://api.github.com/users/chrisco/followers","following_url":"https://api.github.com/users/chrisco/following{/other_user}","gists_url":"https://api.github.com/users/chrisco/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisco/subscriptions","organizations_url":"https://api.github.com/users/chrisco/orgs","repos_url":"https://api.github.com/users/chrisco/repos","events_url":"https://api.github.com/users/chrisco/events{/privacy}","received_events_url":"https://api.github.com/users/chrisco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisco/chitter-challenge","description":"Build a Twitter Clone!","fork":true,"url":"https://api.github.com/repos/chrisco/chitter-challenge","forks_url":"https://api.github.com/repos/chrisco/chitter-challenge/forks","keys_url":"https://api.github.com/repos/chrisco/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisco/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisco/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/chrisco/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/chrisco/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/chrisco/chitter-challenge/events","assignees_url":"https://api.github.com/repos/chrisco/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/chrisco/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/chrisco/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/chrisco/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisco/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisco/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisco/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisco/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisco/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/chrisco/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/chrisco/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/chrisco/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/chrisco/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/chrisco/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisco/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisco/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisco/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisco/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/chrisco/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisco/chitter-challenge/merges","archive_url":"https://api.github.com/repos/chrisco/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisco/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/chrisco/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/chrisco/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisco/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisco/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisco/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/chrisco/chitter-challenge/releases{/id}","created_at":"2015-09-25T11:09:52Z","updated_at":"2015-09-25T11:09:52Z","pushed_at":"2015-09-25T22:42:48Z","git_url":"git://github.com/chrisco/chitter-challenge.git","ssh_url":"git@github.com:chrisco/chitter-challenge.git","clone_url":"https://github.com/chrisco/chitter-challenge.git","svn_url":"https://github.com/chrisco/chitter-challenge","homepage":null,"size":270,"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":"MakersSweden:master","ref":"master","sha":"30be98fc0a012145619a43ef40f70f5fb8f3e813","user":{"login":"MakersSweden","id":12081851,"avatar_url":"https://avatars.githubusercontent.com/u/12081851?v=3","gravatar_id":"","url":"https://api.github.com/users/MakersSweden","html_url":"https://github.com/MakersSweden","followers_url":"https://api.github.com/users/MakersSweden/followers","following_url":"https://api.github.com/users/MakersSweden/following{/other_user}","gists_url":"https://api.github.com/users/MakersSweden/gists{/gist_id}","starred_url":"https://api.github.com/users/MakersSweden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MakersSweden/subscriptions","organizations_url":"https://api.github.com/users/MakersSweden/orgs","repos_url":"https://api.github.com/users/MakersSweden/repos","events_url":"https://api.github.com/users/MakersSweden/events{/privacy}","received_events_url":"https://api.github.com/users/MakersSweden/received_events","type":"Organization","site_admin":false},"repo":{"id":43067280,"name":"chitter-challenge","full_name":"MakersSweden/chitter-challenge","owner":{"login":"MakersSweden","id":12081851,"avatar_url":"https://avatars.githubusercontent.com/u/12081851?v=3","gravatar_id":"","url":"https://api.github.com/users/MakersSweden","html_url":"https://github.com/MakersSweden","followers_url":"https://api.github.com/users/MakersSweden/followers","following_url":"https://api.github.com/users/MakersSweden/following{/other_user}","gists_url":"https://api.github.com/users/MakersSweden/gists{/gist_id}","starred_url":"https://api.github.com/users/MakersSweden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MakersSweden/subscriptions","organizations_url":"https://api.github.com/users/MakersSweden/orgs","repos_url":"https://api.github.com/users/MakersSweden/repos","events_url":"https://api.github.com/users/MakersSweden/events{/privacy}","received_events_url":"https://api.github.com/users/MakersSweden/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MakersSweden/chitter-challenge","description":"Build a Twitter Clone!","fork":true,"url":"https://api.github.com/repos/MakersSweden/chitter-challenge","forks_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/forks","keys_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/events","assignees_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/merges","archive_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/MakersSweden/chitter-challenge/releases{/id}","created_at":"2015-09-24T13:07:10Z","updated_at":"2015-09-24T13:07:10Z","pushed_at":"2015-09-25T22:42:50Z","git_url":"git://github.com/MakersSweden/chitter-challenge.git","ssh_url":"git@github.com:MakersSweden/chitter-challenge.git","clone_url":"https://github.com/MakersSweden/chitter-challenge.git","svn_url":"https://github.com/MakersSweden/chitter-challenge","homepage":null,"size":351,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/3"},"html":{"href":"https://github.com/MakersSweden/chitter-challenge/pull/3"},"issue":{"href":"https://api.github.com/repos/MakersSweden/chitter-challenge/issues/3"},"comments":{"href":"https://api.github.com/repos/MakersSweden/chitter-challenge/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MakersSweden/chitter-challenge/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/MakersSweden/chitter-challenge/statuses/cc291c74702a07e148c47f725704162369116054"}}}}