Pragmatic Studio: Rails Studio Day 3
Our final day was a little rushed. I would guess we had fallen about an hour behind the agenda. We covered the final leg of Rails stuff including completing the ActiveRecord discussion through to many-to-many relationships, the magic of filters and a great overview of using partials and AJAX in our applications.
Probably the only oversight in the class was the coverage of testing in Rails. Due to schedule, we had to cover all of the
rake test world in _an hou_r. An hour isn’t a lot of time to cover what is really a pretty complete and powerful test environment that is built right into Rails. The oversight here was more pronounced, as early on testing was highlighted as one of the critical things you have to do in your app. We really didn’t get enough coverage of this. I wouldn’t want a fourth day in the class, which is likely what would be required to cover testing well, so I guess a hurried overview to get you started is probably the best that can be done.
To end the class we deployed the application via Capistrano to a production server. The Capistrano system really impressed me as being elegant and extensible.