Take the previous "life_tracker" assignment, and extend it.
[x] Add a Person model.
[x] Change School and LifeEvent so they belong to a person.
[ ] Change school and life event forms so you can choose the person when you create new ones.
[ ] Add all current schools and life events to a person (or wipe them and start over.)
[x] Add a PeopleController; don't use scaffolding.
[ ] 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.
[x] Add the foundation-rails gem to your Gemfile and use Foundation for styling.
[x] Change forms to use the Foundation classes to make them look awesome. (Alternately, use Twitter Bootstrap or Bourbon.)
[ ] The root page of your app should show the latest schools and life events added and what person they belong to.
[ ] Remove routes you don't need. Do you need an index for schools or life events?
Week 5 - Day 2
Take the previous "life_tracker" assignment, and extend it.
Person
model.School
andLifeEvent
so they belong to a person.PeopleController
; don't use scaffolding.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.foundation-rails
gem to yourGemfile
and use Foundation for styling.