{"action":"created","comment":{"url":"https://api.github.com/repos/BGRicker/liftlots/pulls/comments/82495408","pull_request_review_id":3402124,"id":82495408,"diff_hunk":"@@ -18,4 +18,8 @@\n \tconfig.after(:each) do\n \t\tDatabaseCleaner.start\n \tend\n+\n+\tconfig.after(:each) do\n+\t\tDatabaseCleaner.clean","path":"spec/support/database_cleaner.rb","position":6,"original_position":6,"commit_id":"a91430ac12d1cc93e842f353f51f05f7be998bc4","original_commit_id":"ca1a6dbfa369a1493339cf4d2b0fe63305e8bc4b","user":{"login":"josephferrairo","id":13066920,"avatar_url":"https://avatars.githubusercontent.com/u/13066920?v=3","gravatar_id":"","url":"https://api.github.com/users/josephferrairo","html_url":"https://github.com/josephferrairo","followers_url":"https://api.github.com/users/josephferrairo/followers","following_url":"https://api.github.com/users/josephferrairo/following{/other_user}","gists_url":"https://api.github.com/users/josephferrairo/gists{/gist_id}","starred_url":"https://api.github.com/users/josephferrairo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephferrairo/subscriptions","organizations_url":"https://api.github.com/users/josephferrairo/orgs","repos_url":"https://api.github.com/users/josephferrairo/repos","events_url":"https://api.github.com/users/josephferrairo/events{/privacy}","received_events_url":"https://api.github.com/users/josephferrairo/received_events","type":"User","site_admin":false},"body":"`RSpec.configure do |config|\r\n\tconfig.before(:suite) do\r\n\t\tDatabaseCleaner.clean_with(:truncation)\r\n\tend\r\n\r\n\tconfig.before(:each) do\r\n\t\tDatabaseCleaner.strategy = :transaction\r\n\tend\r\n\r\n\tconfig.before(:each, js: true) do\r\n\t\tDatabaseCleaner.strategy = :truncation\r\n\tend`","created_at":"2016-10-08T04:23:56Z","updated_at":"2016-10-08T04:23:56Z","html_url":"https://github.com/BGRicker/liftlots/pull/18#discussion_r82495408","pull_request_url":"https://api.github.com/repos/BGRicker/liftlots/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/BGRicker/liftlots/pulls/comments/82495408"},"html":{"href":"https://github.com/BGRicker/liftlots/pull/18#discussion_r82495408"},"pull_request":{"href":"https://api.github.com/repos/BGRicker/liftlots/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/BGRicker/liftlots/pulls/18","id":88531230,"html_url":"https://github.com/BGRicker/liftlots/pull/18","diff_url":"https://github.com/BGRicker/liftlots/pull/18.diff","patch_url":"https://github.com/BGRicker/liftlots/pull/18.patch","issue_url":"https://api.github.com/repos/BGRicker/liftlots/issues/18","number":18,"state":"open","locked":false,"title":"Blank Workout can't be passed into DB","user":{"login":"josephferrairo","id":13066920,"avatar_url":"https://avatars.githubusercontent.com/u/13066920?v=3","gravatar_id":"","url":"https://api.github.com/users/josephferrairo","html_url":"https://github.com/josephferrairo","followers_url":"https://api.github.com/users/josephferrairo/followers","following_url":"https://api.github.com/users/josephferrairo/following{/other_user}","gists_url":"https://api.github.com/users/josephferrairo/gists{/gist_id}","starred_url":"https://api.github.com/users/josephferrairo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephferrairo/subscriptions","organizations_url":"https://api.github.com/users/josephferrairo/orgs","repos_url":"https://api.github.com/users/josephferrairo/repos","events_url":"https://api.github.com/users/josephferrairo/events{/privacy}","received_events_url":"https://api.github.com/users/josephferrairo/received_events","type":"User","site_admin":false},"body":"I modified the workout model so that the user cannot input a blank workout, I also modified the workout controller so that it gives the user an error when the user passes a blank workout. I also added tests for new and create workout as well as added a line to the Database cleaner file so that it cleans the db after each test is run. I also removed the asterisk next to required fields in forms.","created_at":"2016-10-08T02:53:52Z","updated_at":"2016-10-08T04:23:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dfb727aa588c7b1308f8796ccb9a8b6054031504","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/BGRicker/liftlots/pulls/18/commits","review_comments_url":"https://api.github.com/repos/BGRicker/liftlots/pulls/18/comments","review_comment_url":"https://api.github.com/repos/BGRicker/liftlots/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BGRicker/liftlots/issues/18/comments","statuses_url":"https://api.github.com/repos/BGRicker/liftlots/statuses/a91430ac12d1cc93e842f353f51f05f7be998bc4","head":{"label":"BGRicker:blank_workout","ref":"blank_workout","sha":"a91430ac12d1cc93e842f353f51f05f7be998bc4","user":{"login":"BGRicker","id":3905259,"avatar_url":"https://avatars.githubusercontent.com/u/3905259?v=3","gravatar_id":"","url":"https://api.github.com/users/BGRicker","html_url":"https://github.com/BGRicker","followers_url":"https://api.github.com/users/BGRicker/followers","following_url":"https://api.github.com/users/BGRicker/following{/other_user}","gists_url":"https://api.github.com/users/BGRicker/gists{/gist_id}","starred_url":"https://api.github.com/users/BGRicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BGRicker/subscriptions","organizations_url":"https://api.github.com/users/BGRicker/orgs","repos_url":"https://api.github.com/users/BGRicker/repos","events_url":"https://api.github.com/users/BGRicker/events{/privacy}","received_events_url":"https://api.github.com/users/BGRicker/received_events","type":"User","site_admin":false},"repo":{"id":63497786,"name":"liftlots","full_name":"BGRicker/liftlots","owner":{"login":"BGRicker","id":3905259,"avatar_url":"https://avatars.githubusercontent.com/u/3905259?v=3","gravatar_id":"","url":"https://api.github.com/users/BGRicker","html_url":"https://github.com/BGRicker","followers_url":"https://api.github.com/users/BGRicker/followers","following_url":"https://api.github.com/users/BGRicker/following{/other_user}","gists_url":"https://api.github.com/users/BGRicker/gists{/gist_id}","starred_url":"https://api.github.com/users/BGRicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BGRicker/subscriptions","organizations_url":"https://api.github.com/users/BGRicker/orgs","repos_url":"https://api.github.com/users/BGRicker/repos","events_url":"https://api.github.com/users/BGRicker/events{/privacy}","received_events_url":"https://api.github.com/users/BGRicker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BGRicker/liftlots","description":"gym tracking, like a playlist for sets","fork":false,"url":"https://api.github.com/repos/BGRicker/liftlots","forks_url":"https://api.github.com/repos/BGRicker/liftlots/forks","keys_url":"https://api.github.com/repos/BGRicker/liftlots/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BGRicker/liftlots/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BGRicker/liftlots/teams","hooks_url":"https://api.github.com/repos/BGRicker/liftlots/hooks","issue_events_url":"https://api.github.com/repos/BGRicker/liftlots/issues/events{/number}","events_url":"https://api.github.com/repos/BGRicker/liftlots/events","assignees_url":"https://api.github.com/repos/BGRicker/liftlots/assignees{/user}","branches_url":"https://api.github.com/repos/BGRicker/liftlots/branches{/branch}","tags_url":"https://api.github.com/repos/BGRicker/liftlots/tags","blobs_url":"https://api.github.com/repos/BGRicker/liftlots/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BGRicker/liftlots/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BGRicker/liftlots/git/refs{/sha}","trees_url":"https://api.github.com/repos/BGRicker/liftlots/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BGRicker/liftlots/statuses/{sha}","languages_url":"https://api.github.com/repos/BGRicker/liftlots/languages","stargazers_url":"https://api.github.com/repos/BGRicker/liftlots/stargazers","contributors_url":"https://api.github.com/repos/BGRicker/liftlots/contributors","subscribers_url":"https://api.github.com/repos/BGRicker/liftlots/subscribers","subscription_url":"https://api.github.com/repos/BGRicker/liftlots/subscription","commits_url":"https://api.github.com/repos/BGRicker/liftlots/commits{/sha}","git_commits_url":"https://api.github.com/repos/BGRicker/liftlots/git/commits{/sha}","comments_url":"https://api.github.com/repos/BGRicker/liftlots/comments{/number}","issue_comment_url":"https://api.github.com/repos/BGRicker/liftlots/issues/comments{/number}","contents_url":"https://api.github.com/repos/BGRicker/liftlots/contents/{+path}","compare_url":"https://api.github.com/repos/BGRicker/liftlots/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BGRicker/liftlots/merges","archive_url":"https://api.github.com/repos/BGRicker/liftlots/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BGRicker/liftlots/downloads","issues_url":"https://api.github.com/repos/BGRicker/liftlots/issues{/number}","pulls_url":"https://api.github.com/repos/BGRicker/liftlots/pulls{/number}","milestones_url":"https://api.github.com/repos/BGRicker/liftlots/milestones{/number}","notifications_url":"https://api.github.com/repos/BGRicker/liftlots/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BGRicker/liftlots/labels{/name}","releases_url":"https://api.github.com/repos/BGRicker/liftlots/releases{/id}","deployments_url":"https://api.github.com/repos/BGRicker/liftlots/deployments","created_at":"2016-07-16T18:50:57Z","updated_at":"2016-07-16T18:51:28Z","pushed_at":"2016-10-08T04:21:28Z","git_url":"git://github.com/BGRicker/liftlots.git","ssh_url":"git@github.com:BGRicker/liftlots.git","clone_url":"https://github.com/BGRicker/liftlots.git","svn_url":"https://github.com/BGRicker/liftlots","homepage":null,"size":32896,"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":"BGRicker:master","ref":"master","sha":"5789a01bf2c2a30ce046d2ff97db4b154ece42bd","user":{"login":"BGRicker","id":3905259,"avatar_url":"https://avatars.githubusercontent.com/u/3905259?v=3","gravatar_id":"","url":"https://api.github.com/users/BGRicker","html_url":"https://github.com/BGRicker","followers_url":"https://api.github.com/users/BGRicker/followers","following_url":"https://api.github.com/users/BGRicker/following{/other_user}","gists_url":"https://api.github.com/users/BGRicker/gists{/gist_id}","starred_url":"https://api.github.com/users/BGRicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BGRicker/subscriptions","organizations_url":"https://api.github.com/users/BGRicker/orgs","repos_url":"https://api.github.com/users/BGRicker/repos","events_url":"https://api.github.com/users/BGRicker/events{/privacy}","received_events_url":"https://api.github.com/users/BGRicker/received_events","type":"User","site_admin":false},"repo":{"id":63497786,"name":"liftlots","full_name":"BGRicker/liftlots","owner":{"login":"BGRicker","id":3905259,"avatar_url":"https://avatars.githubusercontent.com/u/3905259?v=3","gravatar_id":"","url":"https://api.github.com/users/BGRicker","html_url":"https://github.com/BGRicker","followers_url":"https://api.github.com/users/BGRicker/followers","following_url":"https://api.github.com/users/BGRicker/following{/other_user}","gists_url":"https://api.github.com/users/BGRicker/gists{/gist_id}","starred_url":"https://api.github.com/users/BGRicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BGRicker/subscriptions","organizations_url":"https://api.github.com/users/BGRicker/orgs","repos_url":"https://api.github.com/users/BGRicker/repos","events_url":"https://api.github.com/users/BGRicker/events{/privacy}","received_events_url":"https://api.github.com/users/BGRicker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BGRicker/liftlots","description":"gym tracking, like a playlist for sets","fork":false,"url":"https://api.github.com/repos/BGRicker/liftlots","forks_url":"https://api.github.com/repos/BGRicker/liftlots/forks","keys_url":"https://api.github.com/repos/BGRicker/liftlots/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BGRicker/liftlots/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BGRicker/liftlots/teams","hooks_url":"https://api.github.com/repos/BGRicker/liftlots/hooks","issue_events_url":"https://api.github.com/repos/BGRicker/liftlots/issues/events{/number}","events_url":"https://api.github.com/repos/BGRicker/liftlots/events","assignees_url":"https://api.github.com/repos/BGRicker/liftlots/assignees{/user}","branches_url":"https://api.github.com/repos/BGRicker/liftlots/branches{/branch}","tags_url":"https://api.github.com/repos/BGRicker/liftlots/tags","blobs_url":"https://api.github.com/repos/BGRicker/liftlots/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BGRicker/liftlots/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BGRicker/liftlots/git/refs{/sha}","trees_url":"https://api.github.com/repos/BGRicker/liftlots/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BGRicker/liftlots/statuses/{sha}","languages_url":"https://api.github.com/repos/BGRicker/liftlots/languages","stargazers_url":"https://api.github.com/repos/BGRicker/liftlots/stargazers","contributors_url":"https://api.github.com/repos/BGRicker/liftlots/contributors","subscribers_url":"https://api.github.com/repos/BGRicker/liftlots/subscribers","subscription_url":"https://api.github.com/repos/BGRicker/liftlots/subscription","commits_url":"https://api.github.com/repos/BGRicker/liftlots/commits{/sha}","git_commits_url":"https://api.github.com/repos/BGRicker/liftlots/git/commits{/sha}","comments_url":"https://api.github.com/repos/BGRicker/liftlots/comments{/number}","issue_comment_url":"https://api.github.com/repos/BGRicker/liftlots/issues/comments{/number}","contents_url":"https://api.github.com/repos/BGRicker/liftlots/contents/{+path}","compare_url":"https://api.github.com/repos/BGRicker/liftlots/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BGRicker/liftlots/merges","archive_url":"https://api.github.com/repos/BGRicker/liftlots/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BGRicker/liftlots/downloads","issues_url":"https://api.github.com/repos/BGRicker/liftlots/issues{/number}","pulls_url":"https://api.github.com/repos/BGRicker/liftlots/pulls{/number}","milestones_url":"https://api.github.com/repos/BGRicker/liftlots/milestones{/number}","notifications_url":"https://api.github.com/repos/BGRicker/liftlots/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BGRicker/liftlots/labels{/name}","releases_url":"https://api.github.com/repos/BGRicker/liftlots/releases{/id}","deployments_url":"https://api.github.com/repos/BGRicker/liftlots/deployments","created_at":"2016-07-16T18:50:57Z","updated_at":"2016-07-16T18:51:28Z","pushed_at":"2016-10-08T04:21:28Z","git_url":"git://github.com/BGRicker/liftlots.git","ssh_url":"git@github.com:BGRicker/liftlots.git","clone_url":"https://github.com/BGRicker/liftlots.git","svn_url":"https://github.com/BGRicker/liftlots","homepage":null,"size":32896,"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/BGRicker/liftlots/pulls/18"},"html":{"href":"https://github.com/BGRicker/liftlots/pull/18"},"issue":{"href":"https://api.github.com/repos/BGRicker/liftlots/issues/18"},"comments":{"href":"https://api.github.com/repos/BGRicker/liftlots/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/BGRicker/liftlots/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/BGRicker/liftlots/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BGRicker/liftlots/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/BGRicker/liftlots/statuses/a91430ac12d1cc93e842f353f51f05f7be998bc4"}}}}
{"actor":{"display_login":"josephferrairo"}}