Permalink
Browse files

7.1) Updated lecture to include exercise

  • Loading branch information...
1 parent 3a504c8 commit d6f762959204a4ebddd0194e1ac71c6a2b7d6e77 @dimroc dimroc committed May 18, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 lectures/07-active-record/7.1-active-record.md
@@ -288,3 +288,9 @@ Summary
Test driving with [shoulda](https://github.com/thoughtbot/shoulda) at the model level and [fabricator](http://fabricationgem.org/) at the request level speed up productivity and maintainability over the long haul.
+Exercises
+---------
+
+Create two associated models `employee` and `role` using shoulda matchers for test driving and fabricators for object creation. Ensure that `role` has a one-to-many relationship to `employee`.
+
+The boilerplate application with assignment details can be found [here](https://github.com/generalassembly/ga-ruby-on-rails-for-devs/tree/master/class/7.1-active-record-basics-exercises)

0 comments on commit d6f7629

Please sign in to comment.