- Clone this starting point.
- Add an initialize method to
Student. Use it to dry up your controller methods. - Add a class method
Student.fetch(section). Use it to dry up your controller methods even more. - Move presentation logic out of Student#introduce into the view templates (
morning.html.erbandafternoon.html.erb). - Dry up repetition between the two views by creating a partial,
_list_of_students.html.erband rendering it from within the main templates. - Support another route,
/students, which will respond properly to query strings?section=pmor?section=amat the end. - Enhance
/studentsto show all students if no section query string parameter is given by the user. - Enhance the app so that students appear in a shuffled order each time your load any page.
- Practice using query string parameters by hiding some Easter Eggs in the app. For example, if I go to
/students?color=redtheh1text should be red.
-
Notifications
You must be signed in to change notification settings - Fork 1
tslam/YearbookAppReviewStartingPoint
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published