Do things the rails way