prog694/teammanager — pull request #5 by PhilippSteinmann (2012-12-30 05:37:20+00:00)
Title: AJAX and modularity of seasonals

- I changed the display of safety tests and team dues to emphasize individual years rather than individual tests
- I added AJAX functionality to make changing things easier
- I changed the `students/show` action so that all it needs to render safety tests and team dues is the array `[SafetyTest, TeamDue]`. There is no further mention of `SafetyTest` or `TeamDue`anywhere in the controller or view— it's all model-agnostic. To do that, I created two partials
- While testing, I added an immensely useful development gem: `better_errors`, which, coupled with the gem `binding_of_caller`, shows all local and instance variables when there's an error, and even provides an inline REPL.