rails design implement