{"action":"created","comment":{"url":"https://api.github.com/repos/201-created/LG/pulls/comments/23970585","id":23970585,"diff_hunk":"@@ -0,0 +1,26 @@\n+import DS from 'ember-data';\n+\n+export default DS.Model.extend({\n+  mainImage: DS.belongsTo('image'),\n+  age: DS.attr('string'),\n+  latitude: DS.attr('number'),\n+  longitude: DS.attr('number'),\n+  gender: DS.attr('string'),\n+  images: DS.hasMany('images'),\n+  userId: DS.attr('string'), // DS.belongsTo('user')\n+  uploadingOrganization: DS.belongsTo('organization'),","path":"app/models/image-set.js","position":11,"original_position":11,"commit_id":"0ac68e9aeb53be8bec0b7c3a2a085c047580a029","original_commit_id":"0ac68e9aeb53be8bec0b7c3a2a085c047580a029","user":{"login":"bantic","id":2023,"avatar_url":"https://avatars.githubusercontent.com/u/2023?v=3","gravatar_id":"","url":"https://api.github.com/users/bantic","html_url":"https://github.com/bantic","followers_url":"https://api.github.com/users/bantic/followers","following_url":"https://api.github.com/users/bantic/following{/other_user}","gists_url":"https://api.github.com/users/bantic/gists{/gist_id}","starred_url":"https://api.github.com/users/bantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bantic/subscriptions","organizations_url":"https://api.github.com/users/bantic/orgs","repos_url":"https://api.github.com/users/bantic/repos","events_url":"https://api.github.com/users/bantic/events{/privacy}","received_events_url":"https://api.github.com/users/bantic/received_events","type":"User","site_admin":false},"body":"should be `async:true`, but that may simply be the default in ember-data 14","created_at":"2015-02-02T23:48:53Z","updated_at":"2015-02-02T23:48:53Z","html_url":"https://github.com/201-created/LG/pull/2#discussion_r23970585","pull_request_url":"https://api.github.com/repos/201-created/LG/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/201-created/LG/pulls/comments/23970585"},"html":{"href":"https://github.com/201-created/LG/pull/2#discussion_r23970585"},"pull_request":{"href":"https://api.github.com/repos/201-created/LG/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/201-created/LG/pulls/2","id":28380492,"html_url":"https://github.com/201-created/LG/pull/2","diff_url":"https://github.com/201-created/LG/pull/2.diff","patch_url":"https://github.com/201-created/LG/pull/2.patch","issue_url":"https://api.github.com/repos/201-created/LG/issues/2","number":2,"state":"open","locked":false,"title":"Image set upload","user":{"login":"iezer","id":87991,"avatar_url":"https://avatars.githubusercontent.com/u/87991?v=3","gravatar_id":"","url":"https://api.github.com/users/iezer","html_url":"https://github.com/iezer","followers_url":"https://api.github.com/users/iezer/followers","following_url":"https://api.github.com/users/iezer/following{/other_user}","gists_url":"https://api.github.com/users/iezer/gists{/gist_id}","starred_url":"https://api.github.com/users/iezer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iezer/subscriptions","organizations_url":"https://api.github.com/users/iezer/orgs","repos_url":"https://api.github.com/users/iezer/repos","events_url":"https://api.github.com/users/iezer/events{/privacy}","received_events_url":"https://api.github.com/users/iezer/received_events","type":"User","site_admin":false},"body":"@bantic  For you, CC @redyaffle \r\n\r\nThis is UI for creating image sets and uploading images. It creates ImageSet and Image models on the front end and sets some meta data for both. Not savings to the back end yet, this is front end only.\r\n\r\nI created some new routes\r\n`/image-sets/new` takes the to a blank image set and you can start uploading\r\n`/image-set/1` or any other ID right now creates an image set object for testing\r\n\r\nI also upgraded ember-cli because I was having a problem with tmp files crashing my ember server which a file is in progress and there's a fix for that.\r\n\r\nHere's how it looks. Obviously a work in progress but I'd appreciate some feedback.\r\n![screen shot 2015-01-29 at 6 42 01 pm](https://cloud.githubusercontent.com/assets/87991/5980595/0b8978de-a880-11e4-807a-4825c6a29f1c.png)\r\n","created_at":"2015-01-30T18:03:14Z","updated_at":"2015-02-02T23:48:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"187cb9a491ce347db13f5823df59599b012766bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/201-created/LG/pulls/2/commits","review_comments_url":"https://api.github.com/repos/201-created/LG/pulls/2/comments","review_comment_url":"https://api.github.com/repos/201-created/LG/pulls/comments/{number}","comments_url":"https://api.github.com/repos/201-created/LG/issues/2/comments","statuses_url":"https://api.github.com/repos/201-created/LG/statuses/0ac68e9aeb53be8bec0b7c3a2a085c047580a029","head":{"label":"201-created:image-set-upload","ref":"image-set-upload","sha":"0ac68e9aeb53be8bec0b7c3a2a085c047580a029","user":{"login":"201-created","id":5312906,"avatar_url":"https://avatars.githubusercontent.com/u/5312906?v=3","gravatar_id":"","url":"https://api.github.com/users/201-created","html_url":"https://github.com/201-created","followers_url":"https://api.github.com/users/201-created/followers","following_url":"https://api.github.com/users/201-created/following{/other_user}","gists_url":"https://api.github.com/users/201-created/gists{/gist_id}","starred_url":"https://api.github.com/users/201-created/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/201-created/subscriptions","organizations_url":"https://api.github.com/users/201-created/orgs","repos_url":"https://api.github.com/users/201-created/repos","events_url":"https://api.github.com/users/201-created/events{/privacy}","received_events_url":"https://api.github.com/users/201-created/received_events","type":"Organization","site_admin":false},"repo":{"id":29484033,"name":"LG","full_name":"201-created/LG","owner":{"login":"201-created","id":5312906,"avatar_url":"https://avatars.githubusercontent.com/u/5312906?v=3","gravatar_id":"","url":"https://api.github.com/users/201-created","html_url":"https://github.com/201-created","followers_url":"https://api.github.com/users/201-created/followers","following_url":"https://api.github.com/users/201-created/following{/other_user}","gists_url":"https://api.github.com/users/201-created/gists{/gist_id}","starred_url":"https://api.github.com/users/201-created/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/201-created/subscriptions","organizations_url":"https://api.github.com/users/201-created/orgs","repos_url":"https://api.github.com/users/201-created/repos","events_url":"https://api.github.com/users/201-created/events{/privacy}","received_events_url":"https://api.github.com/users/201-created/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/201-created/LG","description":"LG Front-End","fork":false,"url":"https://api.github.com/repos/201-created/LG","forks_url":"https://api.github.com/repos/201-created/LG/forks","keys_url":"https://api.github.com/repos/201-created/LG/keys{/key_id}","collaborators_url":"https://api.github.com/repos/201-created/LG/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/201-created/LG/teams","hooks_url":"https://api.github.com/repos/201-created/LG/hooks","issue_events_url":"https://api.github.com/repos/201-created/LG/issues/events{/number}","events_url":"https://api.github.com/repos/201-created/LG/events","assignees_url":"https://api.github.com/repos/201-created/LG/assignees{/user}","branches_url":"https://api.github.com/repos/201-created/LG/branches{/branch}","tags_url":"https://api.github.com/repos/201-created/LG/tags","blobs_url":"https://api.github.com/repos/201-created/LG/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/201-created/LG/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/201-created/LG/git/refs{/sha}","trees_url":"https://api.github.com/repos/201-created/LG/git/trees{/sha}","statuses_url":"https://api.github.com/repos/201-created/LG/statuses/{sha}","languages_url":"https://api.github.com/repos/201-created/LG/languages","stargazers_url":"https://api.github.com/repos/201-created/LG/stargazers","contributors_url":"https://api.github.com/repos/201-created/LG/contributors","subscribers_url":"https://api.github.com/repos/201-created/LG/subscribers","subscription_url":"https://api.github.com/repos/201-created/LG/subscription","commits_url":"https://api.github.com/repos/201-created/LG/commits{/sha}","git_commits_url":"https://api.github.com/repos/201-created/LG/git/commits{/sha}","comments_url":"https://api.github.com/repos/201-created/LG/comments{/number}","issue_comment_url":"https://api.github.com/repos/201-created/LG/issues/comments/{number}","contents_url":"https://api.github.com/repos/201-created/LG/contents/{+path}","compare_url":"https://api.github.com/repos/201-created/LG/compare/{base}...{head}","merges_url":"https://api.github.com/repos/201-created/LG/merges","archive_url":"https://api.github.com/repos/201-created/LG/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/201-created/LG/downloads","issues_url":"https://api.github.com/repos/201-created/LG/issues{/number}","pulls_url":"https://api.github.com/repos/201-created/LG/pulls{/number}","milestones_url":"https://api.github.com/repos/201-created/LG/milestones{/number}","notifications_url":"https://api.github.com/repos/201-created/LG/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/201-created/LG/labels{/name}","releases_url":"https://api.github.com/repos/201-created/LG/releases{/id}","created_at":"2015-01-19T18:05:22Z","updated_at":"2015-01-29T17:27:17Z","pushed_at":"2015-02-02T23:02:35Z","git_url":"git://github.com/201-created/LG.git","ssh_url":"git@github.com:201-created/LG.git","clone_url":"https://github.com/201-created/LG.git","svn_url":"https://github.com/201-created/LG","homepage":"","size":396,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"201-created:master","ref":"master","sha":"ed5df3857eb20778499f1586ca04e725fb711b3e","user":{"login":"201-created","id":5312906,"avatar_url":"https://avatars.githubusercontent.com/u/5312906?v=3","gravatar_id":"","url":"https://api.github.com/users/201-created","html_url":"https://github.com/201-created","followers_url":"https://api.github.com/users/201-created/followers","following_url":"https://api.github.com/users/201-created/following{/other_user}","gists_url":"https://api.github.com/users/201-created/gists{/gist_id}","starred_url":"https://api.github.com/users/201-created/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/201-created/subscriptions","organizations_url":"https://api.github.com/users/201-created/orgs","repos_url":"https://api.github.com/users/201-created/repos","events_url":"https://api.github.com/users/201-created/events{/privacy}","received_events_url":"https://api.github.com/users/201-created/received_events","type":"Organization","site_admin":false},"repo":{"id":29484033,"name":"LG","full_name":"201-created/LG","owner":{"login":"201-created","id":5312906,"avatar_url":"https://avatars.githubusercontent.com/u/5312906?v=3","gravatar_id":"","url":"https://api.github.com/users/201-created","html_url":"https://github.com/201-created","followers_url":"https://api.github.com/users/201-created/followers","following_url":"https://api.github.com/users/201-created/following{/other_user}","gists_url":"https://api.github.com/users/201-created/gists{/gist_id}","starred_url":"https://api.github.com/users/201-created/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/201-created/subscriptions","organizations_url":"https://api.github.com/users/201-created/orgs","repos_url":"https://api.github.com/users/201-created/repos","events_url":"https://api.github.com/users/201-created/events{/privacy}","received_events_url":"https://api.github.com/users/201-created/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/201-created/LG","description":"LG Front-End","fork":false,"url":"https://api.github.com/repos/201-created/LG","forks_url":"https://api.github.com/repos/201-created/LG/forks","keys_url":"https://api.github.com/repos/201-created/LG/keys{/key_id}","collaborators_url":"https://api.github.com/repos/201-created/LG/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/201-created/LG/teams","hooks_url":"https://api.github.com/repos/201-created/LG/hooks","issue_events_url":"https://api.github.com/repos/201-created/LG/issues/events{/number}","events_url":"https://api.github.com/repos/201-created/LG/events","assignees_url":"https://api.github.com/repos/201-created/LG/assignees{/user}","branches_url":"https://api.github.com/repos/201-created/LG/branches{/branch}","tags_url":"https://api.github.com/repos/201-created/LG/tags","blobs_url":"https://api.github.com/repos/201-created/LG/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/201-created/LG/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/201-created/LG/git/refs{/sha}","trees_url":"https://api.github.com/repos/201-created/LG/git/trees{/sha}","statuses_url":"https://api.github.com/repos/201-created/LG/statuses/{sha}","languages_url":"https://api.github.com/repos/201-created/LG/languages","stargazers_url":"https://api.github.com/repos/201-created/LG/stargazers","contributors_url":"https://api.github.com/repos/201-created/LG/contributors","subscribers_url":"https://api.github.com/repos/201-created/LG/subscribers","subscription_url":"https://api.github.com/repos/201-created/LG/subscription","commits_url":"https://api.github.com/repos/201-created/LG/commits{/sha}","git_commits_url":"https://api.github.com/repos/201-created/LG/git/commits{/sha}","comments_url":"https://api.github.com/repos/201-created/LG/comments{/number}","issue_comment_url":"https://api.github.com/repos/201-created/LG/issues/comments/{number}","contents_url":"https://api.github.com/repos/201-created/LG/contents/{+path}","compare_url":"https://api.github.com/repos/201-created/LG/compare/{base}...{head}","merges_url":"https://api.github.com/repos/201-created/LG/merges","archive_url":"https://api.github.com/repos/201-created/LG/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/201-created/LG/downloads","issues_url":"https://api.github.com/repos/201-created/LG/issues{/number}","pulls_url":"https://api.github.com/repos/201-created/LG/pulls{/number}","milestones_url":"https://api.github.com/repos/201-created/LG/milestones{/number}","notifications_url":"https://api.github.com/repos/201-created/LG/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/201-created/LG/labels{/name}","releases_url":"https://api.github.com/repos/201-created/LG/releases{/id}","created_at":"2015-01-19T18:05:22Z","updated_at":"2015-01-29T17:27:17Z","pushed_at":"2015-02-02T23:02:35Z","git_url":"git://github.com/201-created/LG.git","ssh_url":"git@github.com:201-created/LG.git","clone_url":"https://github.com/201-created/LG.git","svn_url":"https://github.com/201-created/LG","homepage":"","size":396,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/201-created/LG/pulls/2"},"html":{"href":"https://github.com/201-created/LG/pull/2"},"issue":{"href":"https://api.github.com/repos/201-created/LG/issues/2"},"comments":{"href":"https://api.github.com/repos/201-created/LG/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/201-created/LG/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/201-created/LG/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/201-created/LG/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/201-created/LG/statuses/0ac68e9aeb53be8bec0b7c3a2a085c047580a029"}}}}