teaching of rails scaffold 4, 2 tables implemented