small medium large xlarge


Activity 1

Add a ship_date column to the orders table, and send a notification when this value is updated by the OrdersController.

Hint: Active Record provides dirty methods to enable you to check to see if a field has changed.


Activity 2

Update the application to send an e-mail to the system administrator, namely yourself, when there is an application failure such as the one we handled in Section 10.2.

Hint: Create a new notifier specifically for errors.


Activity 3

Add integration tests for both of the above.

Hint: ActionMailer::Base.deliveries contains the emails that would have been sent.


Other Discussions

Page History
  • V11: Sam Ruby [over 6 years ago]
  • V10: Sam Ruby [over 6 years ago]
  • V9: Sam Ruby [over 6 years ago]
  • V8: Sam Ruby [over 6 years ago]
  • V7: lulalala [almost 7 years ago]
  • V6: lulalala [almost 7 years ago]
  • V5: Suresh Iyer [almost 7 years ago]
  • V4: Suresh Iyer [almost 7 years ago]
  • V3: Mark Nadig [about 7 years ago]
  • V2: Andrew de Andrade [over 7 years ago]