broken version of self made rails scaffolding