make things exactly the rails way