used rails scaffold to generate post controller, model, views