edit rails comparion part