{"action":"opened","issue":{"url":"https://api.github.com/repos/cateia97/assignments/issues/24","labels_url":"https://api.github.com/repos/cateia97/assignments/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/cateia97/assignments/issues/24/comments","events_url":"https://api.github.com/repos/cateia97/assignments/issues/24/events","html_url":"https://github.com/cateia97/assignments/issues/24","id":84087298,"number":24,"title":"Assignment 5-2","user":{"login":"ambethia","id":298,"avatar_url":"https://avatars.githubusercontent.com/u/298?v=3","gravatar_id":"","url":"https://api.github.com/users/ambethia","html_url":"https://github.com/ambethia","followers_url":"https://api.github.com/users/ambethia/followers","following_url":"https://api.github.com/users/ambethia/following{/other_user}","gists_url":"https://api.github.com/users/ambethia/gists{/gist_id}","starred_url":"https://api.github.com/users/ambethia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambethia/subscriptions","organizations_url":"https://api.github.com/users/ambethia/orgs","repos_url":"https://api.github.com/users/ambethia/repos","events_url":"https://api.github.com/users/ambethia/events{/privacy}","received_events_url":"https://api.github.com/users/ambethia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cateia97","id":12159719,"avatar_url":"https://avatars.githubusercontent.com/u/12159719?v=3","gravatar_id":"","url":"https://api.github.com/users/cateia97","html_url":"https://github.com/cateia97","followers_url":"https://api.github.com/users/cateia97/followers","following_url":"https://api.github.com/users/cateia97/following{/other_user}","gists_url":"https://api.github.com/users/cateia97/gists{/gist_id}","starred_url":"https://api.github.com/users/cateia97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cateia97/subscriptions","organizations_url":"https://api.github.com/users/cateia97/orgs","repos_url":"https://api.github.com/users/cateia97/repos","events_url":"https://api.github.com/users/cateia97/events{/privacy}","received_events_url":"https://api.github.com/users/cateia97/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-06-02T16:05:31Z","updated_at":"2015-06-02T16:05:31Z","closed_at":null,"body":"# Week 5 - Day 2\n\nTake the previous \"life_tracker\" assignment, and extend it.\n\n- [ ] Add a `Person` model.\n- [ ] Change `School` and `LifeEvent` so they belong to a person.\n- [ ] Change school and life event forms so you can choose the person when you create new ones.\n- [ ] Add all current schools and life events to a person (or wipe them and start over.)\n- [ ] Add a `PeopleController`; don't use scaffolding.\n- [ ] The `PeopleController`'s show action should show the schools a person attended and the life events that belong to them. Each list should be in chronological order.\n- [ ] Add the `foundation-rails` gem to your `Gemfile` and use Foundation for styling.\n- [ ] Change forms to use the Foundation classes to make them look awesome. (Alternately, use Twitter Bootstrap or Bourbon.)\n- [ ] The root page of your app should show the latest schools and life events added and what person they belong to.\n- [ ] Remove routes you don't need. Do you need an index for schools or life events?\n\n- [ ] **Bonus**: [Nest the schools and life events routes under people](http://guides.rubyonrails.org/routing.html#nested-resources). If you do this, eliminate the user dropdown on your forms.\n- [ ] **Bonus Bonus**: Look at [polymorphic associations](http://guides.rubyonrails.org/association_basics.html#polymorphic-associati…). Use them to add comments to both schools and life events.\n"}}