{"action":"opened","issue":{"url":"https://api.github.com/repos/learn-co-curriculum/rails-video-review-partials-and-collections/issues/1","repository_url":"https://api.github.com/repos/learn-co-curriculum/rails-video-review-partials-and-collections","labels_url":"https://api.github.com/repos/learn-co-curriculum/rails-video-review-partials-and-collections/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/learn-co-curriculum/rails-video-review-partials-and-collections/issues/1/comments","events_url":"https://api.github.com/repos/learn-co-curriculum/rails-video-review-partials-and-collections/issues/1/events","html_url":"https://github.com/learn-co-curriculum/rails-video-review-partials-and-collections/issues/1","id":278825593,"number":1,"title":"Suggested Summary and Objectives","user":{"login":"kyleblee","id":21230656,"avatar_url":"https://avatars2.githubusercontent.com/u/21230656?v=4","gravatar_id":"","url":"https://api.github.com/users/kyleblee","html_url":"https://github.com/kyleblee","followers_url":"https://api.github.com/users/kyleblee/followers","following_url":"https://api.github.com/users/kyleblee/following{/other_user}","gists_url":"https://api.github.com/users/kyleblee/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleblee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleblee/subscriptions","organizations_url":"https://api.github.com/users/kyleblee/orgs","repos_url":"https://api.github.com/users/kyleblee/repos","events_url":"https://api.github.com/users/kyleblee/events{/privacy}","received_events_url":"https://api.github.com/users/kyleblee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-03T22:08:04Z","updated_at":"2017-12-03T22:08:04Z","closed_at":null,"author_association":"NONE","body":"_Suggested Summary_\r\n- In this video lecture, we discuss implementing _partials_ in Rails to keep the code in our views DRY, open to extension, and dynamic. We also discuss the various syntax choices that are available with the _render_ method and how we can efficiently use partials to display collections\r\n\r\n_Suggested Objectives_\r\n- Define what _partials_ are and explain how they enable us to keep the code in our views DRY\r\n- Name and call partials in a way that follows the Rails convention\r\n- Refrain from using instance variables inside partials and, instead, pass local variables into partials when _render_ is called\r\n- Explain why _render_ is a _polymorphic interface_ and how that makes it a flexible method to call\r\n- Use _render_ to iterate over a collection and render a partial for each object in that collection\r\n- Utilize partials in various forms across your application, where the same input fields are used again and again"}}
{"actor":{"display_login":"kyleblee"}}