Rework wireframe in rails