uppercase model attributes in error helper