{"action":"created","comment":{"url":"https://api.github.com/repos/robbielane/lens_lease/pulls/comments/44425225","id":44425225,"diff_hunk":"@@ -1,7 +1,17 @@\n-# This file should contain all the record creation needed to seed the database with its default values.\n-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).\n-#\n-# Examples:\n-#\n-#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])\n-#   Mayor.create(name: 'Emanuel', city: cities.first)\n+Category.create!([\n+  {name: 'Lenses'},\n+  {name: 'Bodies'},\n+  {name: 'Accessories'}\n+  ])\n+\n+Item.create!([\n+  {name: 'Canon EF 70-200mm f/2.8L', description: 'Two mode optical image stabilization', price: 14, image_url: 'http://www.bhphotovideo.com/images/images1000x1000/Canon_2751B002_EF_70_200mm_f_2_8L_IS_680103.jpg', category_id: 1},\n+  {name: 'Canon EF 16-35mm f/2.8L', description: 'Ultra Wide Angle', price: 13, image_url: 'http://www.bhphotovideo.com/images/images2500x2500/Canon_1910B002AA_EF_16_35mm_f_2_8L_II_486708.jpg', category_id: 1},","path":"db/seeds.rb","position":16,"original_position":16,"commit_id":"033df6ff067affe041c00b6432236c258874ed58","original_commit_id":"033df6ff067affe041c00b6432236c258874ed58","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [210/80]<br>Space inside { missing.<br>Space inside } missing.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-11-10T16:09:06Z","updated_at":"2015-11-10T16:09:06Z","html_url":"https://github.com/robbielane/lens_lease/pull/9#discussion_r44425225","pull_request_url":"https://api.github.com/repos/robbielane/lens_lease/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/robbielane/lens_lease/pulls/comments/44425225"},"html":{"href":"https://github.com/robbielane/lens_lease/pull/9#discussion_r44425225"},"pull_request":{"href":"https://api.github.com/repos/robbielane/lens_lease/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/robbielane/lens_lease/pulls/9","id":50272972,"html_url":"https://github.com/robbielane/lens_lease/pull/9","diff_url":"https://github.com/robbielane/lens_lease/pull/9.diff","patch_url":"https://github.com/robbielane/lens_lease/pull/9.patch","issue_url":"https://api.github.com/repos/robbielane/lens_lease/issues/9","number":9,"state":"open","locked":false,"title":"add seed data","user":{"login":"robbielane","id":12688159,"avatar_url":"https://avatars.githubusercontent.com/u/12688159?v=3","gravatar_id":"","url":"https://api.github.com/users/robbielane","html_url":"https://github.com/robbielane","followers_url":"https://api.github.com/users/robbielane/followers","following_url":"https://api.github.com/users/robbielane/following{/other_user}","gists_url":"https://api.github.com/users/robbielane/gists{/gist_id}","starred_url":"https://api.github.com/users/robbielane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbielane/subscriptions","organizations_url":"https://api.github.com/users/robbielane/orgs","repos_url":"https://api.github.com/users/robbielane/repos","events_url":"https://api.github.com/users/robbielane/events{/privacy}","received_events_url":"https://api.github.com/users/robbielane/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-10T16:08:52Z","updated_at":"2015-11-10T16:09:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2a4fbeac16fcc317fcca4ffbaa8b13215123516","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robbielane/lens_lease/pulls/9/commits","review_comments_url":"https://api.github.com/repos/robbielane/lens_lease/pulls/9/comments","review_comment_url":"https://api.github.com/repos/robbielane/lens_lease/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robbielane/lens_lease/issues/9/comments","statuses_url":"https://api.github.com/repos/robbielane/lens_lease/statuses/033df6ff067affe041c00b6432236c258874ed58","head":{"label":"robbielane:add-seed-data","ref":"add-seed-data","sha":"033df6ff067affe041c00b6432236c258874ed58","user":{"login":"robbielane","id":12688159,"avatar_url":"https://avatars.githubusercontent.com/u/12688159?v=3","gravatar_id":"","url":"https://api.github.com/users/robbielane","html_url":"https://github.com/robbielane","followers_url":"https://api.github.com/users/robbielane/followers","following_url":"https://api.github.com/users/robbielane/following{/other_user}","gists_url":"https://api.github.com/users/robbielane/gists{/gist_id}","starred_url":"https://api.github.com/users/robbielane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbielane/subscriptions","organizations_url":"https://api.github.com/users/robbielane/orgs","repos_url":"https://api.github.com/users/robbielane/repos","events_url":"https://api.github.com/users/robbielane/events{/privacy}","received_events_url":"https://api.github.com/users/robbielane/received_events","type":"User","site_admin":false},"repo":{"id":45855766,"name":"lens_lease","full_name":"robbielane/lens_lease","owner":{"login":"robbielane","id":12688159,"avatar_url":"https://avatars.githubusercontent.com/u/12688159?v=3","gravatar_id":"","url":"https://api.github.com/users/robbielane","html_url":"https://github.com/robbielane","followers_url":"https://api.github.com/users/robbielane/followers","following_url":"https://api.github.com/users/robbielane/following{/other_user}","gists_url":"https://api.github.com/users/robbielane/gists{/gist_id}","starred_url":"https://api.github.com/users/robbielane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbielane/subscriptions","organizations_url":"https://api.github.com/users/robbielane/orgs","repos_url":"https://api.github.com/users/robbielane/repos","events_url":"https://api.github.com/users/robbielane/events{/privacy}","received_events_url":"https://api.github.com/users/robbielane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbielane/lens_lease","description":"","fork":false,"url":"https://api.github.com/repos/robbielane/lens_lease","forks_url":"https://api.github.com/repos/robbielane/lens_lease/forks","keys_url":"https://api.github.com/repos/robbielane/lens_lease/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbielane/lens_lease/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbielane/lens_lease/teams","hooks_url":"https://api.github.com/repos/robbielane/lens_lease/hooks","issue_events_url":"https://api.github.com/repos/robbielane/lens_lease/issues/events{/number}","events_url":"https://api.github.com/repos/robbielane/lens_lease/events","assignees_url":"https://api.github.com/repos/robbielane/lens_lease/assignees{/user}","branches_url":"https://api.github.com/repos/robbielane/lens_lease/branches{/branch}","tags_url":"https://api.github.com/repos/robbielane/lens_lease/tags","blobs_url":"https://api.github.com/repos/robbielane/lens_lease/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbielane/lens_lease/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbielane/lens_lease/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbielane/lens_lease/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbielane/lens_lease/statuses/{sha}","languages_url":"https://api.github.com/repos/robbielane/lens_lease/languages","stargazers_url":"https://api.github.com/repos/robbielane/lens_lease/stargazers","contributors_url":"https://api.github.com/repos/robbielane/lens_lease/contributors","subscribers_url":"https://api.github.com/repos/robbielane/lens_lease/subscribers","subscription_url":"https://api.github.com/repos/robbielane/lens_lease/subscription","commits_url":"https://api.github.com/repos/robbielane/lens_lease/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbielane/lens_lease/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbielane/lens_lease/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbielane/lens_lease/issues/comments{/number}","contents_url":"https://api.github.com/repos/robbielane/lens_lease/contents/{+path}","compare_url":"https://api.github.com/repos/robbielane/lens_lease/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbielane/lens_lease/merges","archive_url":"https://api.github.com/repos/robbielane/lens_lease/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbielane/lens_lease/downloads","issues_url":"https://api.github.com/repos/robbielane/lens_lease/issues{/number}","pulls_url":"https://api.github.com/repos/robbielane/lens_lease/pulls{/number}","milestones_url":"https://api.github.com/repos/robbielane/lens_lease/milestones{/number}","notifications_url":"https://api.github.com/repos/robbielane/lens_lease/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbielane/lens_lease/labels{/name}","releases_url":"https://api.github.com/repos/robbielane/lens_lease/releases{/id}","created_at":"2015-11-09T17:50:14Z","updated_at":"2015-11-09T17:51:45Z","pushed_at":"2015-11-10T16:08:52Z","git_url":"git://github.com/robbielane/lens_lease.git","ssh_url":"git@github.com:robbielane/lens_lease.git","clone_url":"https://github.com/robbielane/lens_lease.git","svn_url":"https://github.com/robbielane/lens_lease","homepage":null,"size":0,"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":"robbielane:master","ref":"master","sha":"9421faaa03c6cd817704e5077da4a1cd61090123","user":{"login":"robbielane","id":12688159,"avatar_url":"https://avatars.githubusercontent.com/u/12688159?v=3","gravatar_id":"","url":"https://api.github.com/users/robbielane","html_url":"https://github.com/robbielane","followers_url":"https://api.github.com/users/robbielane/followers","following_url":"https://api.github.com/users/robbielane/following{/other_user}","gists_url":"https://api.github.com/users/robbielane/gists{/gist_id}","starred_url":"https://api.github.com/users/robbielane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbielane/subscriptions","organizations_url":"https://api.github.com/users/robbielane/orgs","repos_url":"https://api.github.com/users/robbielane/repos","events_url":"https://api.github.com/users/robbielane/events{/privacy}","received_events_url":"https://api.github.com/users/robbielane/received_events","type":"User","site_admin":false},"repo":{"id":45855766,"name":"lens_lease","full_name":"robbielane/lens_lease","owner":{"login":"robbielane","id":12688159,"avatar_url":"https://avatars.githubusercontent.com/u/12688159?v=3","gravatar_id":"","url":"https://api.github.com/users/robbielane","html_url":"https://github.com/robbielane","followers_url":"https://api.github.com/users/robbielane/followers","following_url":"https://api.github.com/users/robbielane/following{/other_user}","gists_url":"https://api.github.com/users/robbielane/gists{/gist_id}","starred_url":"https://api.github.com/users/robbielane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbielane/subscriptions","organizations_url":"https://api.github.com/users/robbielane/orgs","repos_url":"https://api.github.com/users/robbielane/repos","events_url":"https://api.github.com/users/robbielane/events{/privacy}","received_events_url":"https://api.github.com/users/robbielane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbielane/lens_lease","description":"","fork":false,"url":"https://api.github.com/repos/robbielane/lens_lease","forks_url":"https://api.github.com/repos/robbielane/lens_lease/forks","keys_url":"https://api.github.com/repos/robbielane/lens_lease/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbielane/lens_lease/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbielane/lens_lease/teams","hooks_url":"https://api.github.com/repos/robbielane/lens_lease/hooks","issue_events_url":"https://api.github.com/repos/robbielane/lens_lease/issues/events{/number}","events_url":"https://api.github.com/repos/robbielane/lens_lease/events","assignees_url":"https://api.github.com/repos/robbielane/lens_lease/assignees{/user}","branches_url":"https://api.github.com/repos/robbielane/lens_lease/branches{/branch}","tags_url":"https://api.github.com/repos/robbielane/lens_lease/tags","blobs_url":"https://api.github.com/repos/robbielane/lens_lease/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbielane/lens_lease/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbielane/lens_lease/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbielane/lens_lease/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbielane/lens_lease/statuses/{sha}","languages_url":"https://api.github.com/repos/robbielane/lens_lease/languages","stargazers_url":"https://api.github.com/repos/robbielane/lens_lease/stargazers","contributors_url":"https://api.github.com/repos/robbielane/lens_lease/contributors","subscribers_url":"https://api.github.com/repos/robbielane/lens_lease/subscribers","subscription_url":"https://api.github.com/repos/robbielane/lens_lease/subscription","commits_url":"https://api.github.com/repos/robbielane/lens_lease/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbielane/lens_lease/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbielane/lens_lease/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbielane/lens_lease/issues/comments{/number}","contents_url":"https://api.github.com/repos/robbielane/lens_lease/contents/{+path}","compare_url":"https://api.github.com/repos/robbielane/lens_lease/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbielane/lens_lease/merges","archive_url":"https://api.github.com/repos/robbielane/lens_lease/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbielane/lens_lease/downloads","issues_url":"https://api.github.com/repos/robbielane/lens_lease/issues{/number}","pulls_url":"https://api.github.com/repos/robbielane/lens_lease/pulls{/number}","milestones_url":"https://api.github.com/repos/robbielane/lens_lease/milestones{/number}","notifications_url":"https://api.github.com/repos/robbielane/lens_lease/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbielane/lens_lease/labels{/name}","releases_url":"https://api.github.com/repos/robbielane/lens_lease/releases{/id}","created_at":"2015-11-09T17:50:14Z","updated_at":"2015-11-09T17:51:45Z","pushed_at":"2015-11-10T16:08:52Z","git_url":"git://github.com/robbielane/lens_lease.git","ssh_url":"git@github.com:robbielane/lens_lease.git","clone_url":"https://github.com/robbielane/lens_lease.git","svn_url":"https://github.com/robbielane/lens_lease","homepage":null,"size":0,"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/robbielane/lens_lease/pulls/9"},"html":{"href":"https://github.com/robbielane/lens_lease/pull/9"},"issue":{"href":"https://api.github.com/repos/robbielane/lens_lease/issues/9"},"comments":{"href":"https://api.github.com/repos/robbielane/lens_lease/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/robbielane/lens_lease/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/robbielane/lens_lease/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robbielane/lens_lease/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/robbielane/lens_lease/statuses/033df6ff067affe041c00b6432236c258874ed58"}}}}