{"action":"opened","issue":{"url":"https://api.github.com/repos/LARailsLearners/_first_app_instructions/issues/10","labels_url":"https://api.github.com/repos/LARailsLearners/_first_app_instructions/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/LARailsLearners/_first_app_instructions/issues/10/comments","events_url":"https://api.github.com/repos/LARailsLearners/_first_app_instructions/issues/10/events","html_url":"https://github.com/LARailsLearners/_first_app_instructions/issues/10","id":84898327,"number":10,"title":"Implement Devise methods on the Product model","user":{"login":"kobione","id":6961965,"avatar_url":"https://avatars.githubusercontent.com/u/6961965?v=3","gravatar_id":"","url":"https://api.github.com/users/kobione","html_url":"https://github.com/kobione","followers_url":"https://api.github.com/users/kobione/followers","following_url":"https://api.github.com/users/kobione/following{/other_user}","gists_url":"https://api.github.com/users/kobione/gists{/gist_id}","starred_url":"https://api.github.com/users/kobione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kobione/subscriptions","organizations_url":"https://api.github.com/users/kobione/orgs","repos_url":"https://api.github.com/users/kobione/repos","events_url":"https://api.github.com/users/kobione/events{/privacy}","received_events_url":"https://api.github.com/users/kobione/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LARailsLearners/_first_app_instructions/labels/HOMEWORK","name":"HOMEWORK","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/LARailsLearners/_first_app_instructions/milestones/4","html_url":"https://github.com/LARailsLearners/_first_app_instructions/milestones/June%2010%202015","labels_url":"https://api.github.com/repos/LARailsLearners/_first_app_instructions/milestones/4/labels","id":1148662,"number":4,"title":"June 10 2015","description":null,"creator":{"login":"kobione","id":6961965,"avatar_url":"https://avatars.githubusercontent.com/u/6961965?v=3","gravatar_id":"","url":"https://api.github.com/users/kobione","html_url":"https://github.com/kobione","followers_url":"https://api.github.com/users/kobione/followers","following_url":"https://api.github.com/users/kobione/following{/other_user}","gists_url":"https://api.github.com/users/kobione/gists{/gist_id}","starred_url":"https://api.github.com/users/kobione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kobione/subscriptions","organizations_url":"https://api.github.com/users/kobione/orgs","repos_url":"https://api.github.com/users/kobione/repos","events_url":"https://api.github.com/users/kobione/events{/privacy}","received_events_url":"https://api.github.com/users/kobione/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-06-04T04:01:59Z","updated_at":"2015-06-04T04:03:04Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-06-04T04:03:04Z","updated_at":"2015-06-04T04:03:04Z","closed_at":null,"body":"## Homework Instructions:\r\nUnderstand Devise by Using its methods on the Product model\r\n\r\n- Create a Products resource using scaffolding with the \r\nfollowing attributes - name:string, description:text and price:float\r\n- This scaffold will create product controller, model and views etc\r\n\r\nUnderstand the methods which devise gives you( and use some of them)\r\nhttp://www.gotealeaf.com/blog/how-to-use-devise-in-rails-for-authentication\r\n- one of the goals, is to require the user to be logged in to access all the product views\r\n-Display current_user anywhere.\r\n-Use one other method"}}