{"action":"created","comment":{"url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/comments/50032106","id":50032106,"diff_hunk":"@@ -1,84 +1,81 @@\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 description = \"Raw denim paleo brunch, +1 cold-pressed fanny pack\n intelligentsia cred. Thundercats small batch gastropub, sartorial hella you\n probably haven't heard of them occupy before they sold out migas bicycle\n rights tacos\"\n+\n pic = \"http://i.imgur.com/kMx8J0g.png\"\n-stache_1 = Stache.create(name: \"Handlebar\", description: description,\n+\n+cat_1 = Category.create(title: \"Old Fashioned\")\n+cat_2 = Category.create(title: \"Hipster\")\n+cat_3 = Category.create(title: \"Pirate\")\n+cat_4 = Category.create(title: \"Flamboyant\")\n+\n+# some variable assigments kept for order creation down below\n+stache_1 = cat_1.staches.create(name: \"Fluffer\", description: description,\n                          price: 5.0,\n-                         image_url: \"http://i.imgur.com/4NHyiF6.png\")\n-stache_2 = Stache.create(name: \"Chevron\", description: description, price: 3.0,\n-                         image_url: \"http://i.imgur.com/16uh0nF.png\")\n-stache_3 = Stache.create(name: \"Dali\", description: description, price: 10.0,\n-                         image_url: \"http://i.imgur.com/3J3agKC.png\")\n-stache_4 = Stache.create(name: \"English\", description: description, price: 9.0,\n-                         image_url: \"http://i.imgur.com/Ia027l3.png\")\n-stache_5 = Stache.create(name: \"Denim Soul\", description: description,\n+                         image_url: \"http://i.imgur.com/4NHyiF6.png\",\n+                         stache_url: \"http://i.imgur.com/HWGUgox.png\")\n+stache_2 = cat_1.staches.create(name: \"Chevron\", description: description,\n+                         price: 3.0,\n+                         image_url: \"http://i.imgur.com/16uh0nF.png\",\n+                         stache_url: \"http://i.imgur.com/Qjwi1YV.png\")\n+cat_1.staches.create(name: \"Trapper\", description: description, price: 10.0,\n+                         image_url: \"http://i.imgur.com/3J3agKC.png\",\n+                         stache_url: \"http://i.imgur.com/rJ71NVK.png\")\n+cat_1.staches.create(name: \"Roosevelt\", description: description, price: 9.0,\n+                         image_url: \"http://i.imgur.com/Ia027l3.png\",\n+                         stache_url: \"http://i.imgur.com/IfWnBMd.png\")\n+stache_5 = cat_2.staches.create(name: \"Denim Soul\", description: description,\n                          price: 4.0,\n-                         image_url: \"http://i.imgur.com/29KrsNC.png\")\n-stache_6 = Stache.create(name: \"Gastropub\", description: description,\n+                         image_url: \"http://i.imgur.com/29KrsNC.png\",\n+                         stache_url: \"http://i.imgur.com/xvAxx8E.png\")\n+cat_2.staches.create(name: \"Gastropub\", description: description,\n                          price: 4.0,\n-                         image_url: \"http://i.imgur.com/Rdrd1Ph.png\")\n-stache_7 = Stache.create(name: \"Too Cool\", description: description,\n+                         image_url: \"http://i.imgur.com/Rdrd1Ph.png\",\n+                         stache_url: \"http://i.imgur.com/NCMIMQy.png\")\n+cat_2.staches.create(name: \"Too Cool\", description: description,\n                          price: 4.0,\n-                         image_url: \"http://i.imgur.com/sWH2YXv.png\")\n-stache_8 = Stache.create(name: \"I Don't Care\", description: description,\n+                         image_url: \"http://i.imgur.com/sWH2YXv.png\",\n+                         stache_url: \"http://i.imgur.com/MQEXa4Y.png\")\n+cat_2.staches.create(name: \"I'm Bored\", description: description,\n                          price: 4.0,\n-                         image_url: \"http://i.imgur.com/UaWJ4ub.png\")\n-stache_9 = Stache.create(name: \"Arrrr\", description: description, price: 4.0,\n-                         image_url: \"http://i.imgur.com/vctVE2S.png\")\n-stache_10 = Stache.create(name: \"Matey\", description: description, price: 4.0,\n-                          image_url: \"http://i.imgur.com/sqpx1Ah.png\")\n-stache_11 = Stache.create(name: \"'Ol Wood Leg\", description: description,\n+                         image_url: \"http://i.imgur.com/UaWJ4ub.png\",\n+                         stache_url: \"http://i.imgur.com/PLHQykF.png\")\n+cat_3.staches.create(name: \"Arrrr\", description: description, price: 4.0,\n+                         image_url: \"http://i.imgur.com/vctVE2S.png\",\n+                         stache_url: \"http://i.imgur.com/ts6Cs7W.png\")\n+cat_3.staches.create(name: \"Matey\", description: description, price: 4.0,\n+                          image_url: \"http://i.imgur.com/sqpx1Ah.png\",\n+                          stache_url: \"http://i.imgur.com/zHitnkQ.png\")\n+cat_3.staches.create(name: \"'Ol Wood Leg\", description: description,\n                           price: 4.0,\n-                          image_url: \"http://i.imgur.com/9bD5Rvo.png\")\n-stache_12 = Stache.create(name: \"Shiver Me Timbers\", description: description,\n+                          image_url: \"http://i.imgur.com/9bD5Rvo.png\",\n+                          stache_url: \"http://i.imgur.com/BDXPjkM.png\")","path":"db/seeds.rb","position":83,"original_position":83,"commit_id":"8532dc4daed76107b126a157fb4204648ba8fd71","original_commit_id":"8532dc4daed76107b126a157fb4204648ba8fd71","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":"Align the elements of a hash literal if they span more than one line.","created_at":"2016-01-18T18:47:27Z","updated_at":"2016-01-18T18:47:27Z","html_url":"https://github.com/bethsecor/little-shop-private-stache/pull/64#discussion_r50032106","pull_request_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/comments/50032106"},"html":{"href":"https://github.com/bethsecor/little-shop-private-stache/pull/64#discussion_r50032106"},"pull_request":{"href":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/64","id":56378687,"html_url":"https://github.com/bethsecor/little-shop-private-stache/pull/64","diff_url":"https://github.com/bethsecor/little-shop-private-stache/pull/64.diff","patch_url":"https://github.com/bethsecor/little-shop-private-stache/pull/64.patch","issue_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/issues/64","number":64,"state":"open","locked":false,"title":"Seeding staches and styling","user":{"login":"SteveOscar","id":12125888,"avatar_url":"https://avatars.githubusercontent.com/u/12125888?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveOscar","html_url":"https://github.com/SteveOscar","followers_url":"https://api.github.com/users/SteveOscar/followers","following_url":"https://api.github.com/users/SteveOscar/following{/other_user}","gists_url":"https://api.github.com/users/SteveOscar/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveOscar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveOscar/subscriptions","organizations_url":"https://api.github.com/users/SteveOscar/orgs","repos_url":"https://api.github.com/users/SteveOscar/repos","events_url":"https://api.github.com/users/SteveOscar/events{/privacy}","received_events_url":"https://api.github.com/users/SteveOscar/received_events","type":"User","site_admin":false},"body":"- changed nav font  \r\n- padded  cart total  \r\n- changed staches index header\r\n- added migration for stache_url in staches table and added links to the seed file  \r\n- refactored the seed file so that categories are created first, and staches are created with a category  \r\n- styled the stache show page with a simulated video box, all three page elements are in one row for now","created_at":"2016-01-18T18:47:22Z","updated_at":"2016-01-18T18:47:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b34a01ffb3d5688518c665f29aeaae9b3f5870f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/64/commits","review_comments_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/64/comments","review_comment_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/issues/64/comments","statuses_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/statuses/8532dc4daed76107b126a157fb4204648ba8fd71","head":{"label":"bethsecor:seeding_staches_and_styling","ref":"seeding_staches_and_styling","sha":"8532dc4daed76107b126a157fb4204648ba8fd71","user":{"login":"bethsecor","id":11467561,"avatar_url":"https://avatars.githubusercontent.com/u/11467561?v=3","gravatar_id":"","url":"https://api.github.com/users/bethsecor","html_url":"https://github.com/bethsecor","followers_url":"https://api.github.com/users/bethsecor/followers","following_url":"https://api.github.com/users/bethsecor/following{/other_user}","gists_url":"https://api.github.com/users/bethsecor/gists{/gist_id}","starred_url":"https://api.github.com/users/bethsecor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethsecor/subscriptions","organizations_url":"https://api.github.com/users/bethsecor/orgs","repos_url":"https://api.github.com/users/bethsecor/repos","events_url":"https://api.github.com/users/bethsecor/events{/privacy}","received_events_url":"https://api.github.com/users/bethsecor/received_events","type":"User","site_admin":false},"repo":{"id":49443250,"name":"little-shop-private-stache","full_name":"bethsecor/little-shop-private-stache","owner":{"login":"bethsecor","id":11467561,"avatar_url":"https://avatars.githubusercontent.com/u/11467561?v=3","gravatar_id":"","url":"https://api.github.com/users/bethsecor","html_url":"https://github.com/bethsecor","followers_url":"https://api.github.com/users/bethsecor/followers","following_url":"https://api.github.com/users/bethsecor/following{/other_user}","gists_url":"https://api.github.com/users/bethsecor/gists{/gist_id}","starred_url":"https://api.github.com/users/bethsecor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethsecor/subscriptions","organizations_url":"https://api.github.com/users/bethsecor/orgs","repos_url":"https://api.github.com/users/bethsecor/repos","events_url":"https://api.github.com/users/bethsecor/events{/privacy}","received_events_url":"https://api.github.com/users/bethsecor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bethsecor/little-shop-private-stache","description":null,"fork":false,"url":"https://api.github.com/repos/bethsecor/little-shop-private-stache","forks_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/forks","keys_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/teams","hooks_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/hooks","issue_events_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/issues/events{/number}","events_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/events","assignees_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/assignees{/user}","branches_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/branches{/branch}","tags_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/tags","blobs_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/git/refs{/sha}","trees_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/statuses/{sha}","languages_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/languages","stargazers_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/stargazers","contributors_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/contributors","subscribers_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/subscribers","subscription_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/subscription","commits_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/commits{/sha}","git_commits_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/git/commits{/sha}","comments_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/comments{/number}","issue_comment_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/issues/comments{/number}","contents_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/contents/{+path}","compare_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/merges","archive_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/downloads","issues_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/issues{/number}","pulls_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls{/number}","milestones_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/milestones{/number}","notifications_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/labels{/name}","releases_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/releases{/id}","created_at":"2016-01-11T17:46:07Z","updated_at":"2016-01-11T17:46:42Z","pushed_at":"2016-01-18T18:47:24Z","git_url":"git://github.com/bethsecor/little-shop-private-stache.git","ssh_url":"git@github.com:bethsecor/little-shop-private-stache.git","clone_url":"https://github.com/bethsecor/little-shop-private-stache.git","svn_url":"https://github.com/bethsecor/little-shop-private-stache","homepage":null,"size":12812,"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":15,"forks":0,"open_issues":15,"watchers":0,"default_branch":"master"}},"base":{"label":"bethsecor:master","ref":"master","sha":"8b93a1408b9d275747a62fc643a48428d74dad20","user":{"login":"bethsecor","id":11467561,"avatar_url":"https://avatars.githubusercontent.com/u/11467561?v=3","gravatar_id":"","url":"https://api.github.com/users/bethsecor","html_url":"https://github.com/bethsecor","followers_url":"https://api.github.com/users/bethsecor/followers","following_url":"https://api.github.com/users/bethsecor/following{/other_user}","gists_url":"https://api.github.com/users/bethsecor/gists{/gist_id}","starred_url":"https://api.github.com/users/bethsecor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethsecor/subscriptions","organizations_url":"https://api.github.com/users/bethsecor/orgs","repos_url":"https://api.github.com/users/bethsecor/repos","events_url":"https://api.github.com/users/bethsecor/events{/privacy}","received_events_url":"https://api.github.com/users/bethsecor/received_events","type":"User","site_admin":false},"repo":{"id":49443250,"name":"little-shop-private-stache","full_name":"bethsecor/little-shop-private-stache","owner":{"login":"bethsecor","id":11467561,"avatar_url":"https://avatars.githubusercontent.com/u/11467561?v=3","gravatar_id":"","url":"https://api.github.com/users/bethsecor","html_url":"https://github.com/bethsecor","followers_url":"https://api.github.com/users/bethsecor/followers","following_url":"https://api.github.com/users/bethsecor/following{/other_user}","gists_url":"https://api.github.com/users/bethsecor/gists{/gist_id}","starred_url":"https://api.github.com/users/bethsecor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethsecor/subscriptions","organizations_url":"https://api.github.com/users/bethsecor/orgs","repos_url":"https://api.github.com/users/bethsecor/repos","events_url":"https://api.github.com/users/bethsecor/events{/privacy}","received_events_url":"https://api.github.com/users/bethsecor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bethsecor/little-shop-private-stache","description":null,"fork":false,"url":"https://api.github.com/repos/bethsecor/little-shop-private-stache","forks_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/forks","keys_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/teams","hooks_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/hooks","issue_events_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/issues/events{/number}","events_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/events","assignees_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/assignees{/user}","branches_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/branches{/branch}","tags_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/tags","blobs_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/git/refs{/sha}","trees_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/statuses/{sha}","languages_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/languages","stargazers_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/stargazers","contributors_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/contributors","subscribers_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/subscribers","subscription_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/subscription","commits_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/commits{/sha}","git_commits_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/git/commits{/sha}","comments_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/comments{/number}","issue_comment_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/issues/comments{/number}","contents_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/contents/{+path}","compare_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/merges","archive_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/downloads","issues_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/issues{/number}","pulls_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls{/number}","milestones_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/milestones{/number}","notifications_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/labels{/name}","releases_url":"https://api.github.com/repos/bethsecor/little-shop-private-stache/releases{/id}","created_at":"2016-01-11T17:46:07Z","updated_at":"2016-01-11T17:46:42Z","pushed_at":"2016-01-18T18:47:24Z","git_url":"git://github.com/bethsecor/little-shop-private-stache.git","ssh_url":"git@github.com:bethsecor/little-shop-private-stache.git","clone_url":"https://github.com/bethsecor/little-shop-private-stache.git","svn_url":"https://github.com/bethsecor/little-shop-private-stache","homepage":null,"size":12812,"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":15,"forks":0,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/64"},"html":{"href":"https://github.com/bethsecor/little-shop-private-stache/pull/64"},"issue":{"href":"https://api.github.com/repos/bethsecor/little-shop-private-stache/issues/64"},"comments":{"href":"https://api.github.com/repos/bethsecor/little-shop-private-stache/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bethsecor/little-shop-private-stache/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/bethsecor/little-shop-private-stache/statuses/8532dc4daed76107b126a157fb4204648ba8fd71"}}}}