TDef map and config editor based on rails