{"action":"created","issue":{"url":"https://api.github.com/repos/CraftAcademy/sf-online-august/issues/24","repository_url":"https://api.github.com/repos/CraftAcademy/sf-online-august","labels_url":"https://api.github.com/repos/CraftAcademy/sf-online-august/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/CraftAcademy/sf-online-august/issues/24/comments","events_url":"https://api.github.com/repos/CraftAcademy/sf-online-august/issues/24/events","html_url":"https://github.com/CraftAcademy/sf-online-august/pull/24","id":180635525,"number":24,"title":"Restaurant owners can create a restaurant","user":{"login":"AmberWilkie","id":20141428,"avatar_url":"https://avatars.githubusercontent.com/u/20141428?v=3","gravatar_id":"","url":"https://api.github.com/users/AmberWilkie","html_url":"https://github.com/AmberWilkie","followers_url":"https://api.github.com/users/AmberWilkie/followers","following_url":"https://api.github.com/users/AmberWilkie/following{/other_user}","gists_url":"https://api.github.com/users/AmberWilkie/gists{/gist_id}","starred_url":"https://api.github.com/users/AmberWilkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmberWilkie/subscriptions","organizations_url":"https://api.github.com/users/AmberWilkie/orgs","repos_url":"https://api.github.com/users/AmberWilkie/repos","events_url":"https://api.github.com/users/AmberWilkie/events{/privacy}","received_events_url":"https://api.github.com/users/AmberWilkie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-03T13:05:49Z","updated_at":"2016-10-03T13:11:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CraftAcademy/sf-online-august/pulls/24","html_url":"https://github.com/CraftAcademy/sf-online-august/pull/24","diff_url":"https://github.com/CraftAcademy/sf-online-august/pull/24.diff","patch_url":"https://github.com/CraftAcademy/sf-online-august/pull/24.patch"},"body":"PT Story: https://www.pivotaltracker.com/story/show/131526907\r\n\r\nChanges proposed in this pull request:\r\n- Added restaurant creation page, routing, controller\r\n- Restrict restaurant creation to logged in restaurant owners & error handle for exception cases\r\n- Create simple show page to display restaurant information (but this needs to be expanded in another feature)\r\n- Require address and name for restaurant\r\n\r\nTodo:\r\n- Complete sad path testing for restaurant creation - no name, no associated user, etc. (Error messages should be created and should appear but we haven't tested for them for these scenarios).\r\n\r\nWhat I have learned working on this feature:\r\n- How to make changes to DB tables\r\n- merging parameters into table entry\r\n- CanCan's load_and_authorize_resource\r\n \r\nScreenshots:\r\n![screen shot 2016-10-03 at 3 02 24 pm](https://cloud.githubusercontent.com/assets/20141428/19038139/6ed8ebc2-897a-11e6-98c0-030d139530de.png)\r\n\r\nReady for review!"},"comment":{"url":"https://api.github.com/repos/CraftAcademy/sf-online-august/issues/comments/251101875","html_url":"https://github.com/CraftAcademy/sf-online-august/pull/24#issuecomment-251101875","issue_url":"https://api.github.com/repos/CraftAcademy/sf-online-august/issues/24","id":251101875,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T13:11:50Z","updated_at":"2016-10-03T13:11:50Z","body":"\n[![Coverage Status](https://coveralls.io/builds/8158049/badge)](https://coveralls.io/builds/8158049)\n\nCoverage increased (+0.4%) to 95.89% when pulling **88e7f8621ea0dc0a68f82b05bb9beac46b44a42f on AmberWilkie:restaurantviews** into **23cd835b9fc426a11484d0f566feeef6d76f8fa3 on CraftAcademy:develop**.\n"}}
{"actor":{"display_login":"coveralls"}}