homework from Aaron's notes on "More active record"