week7, day2: epicodus.  database, active record, ruby on rails