This is a Spanish slang phrase commonly used to indicate that someone has experienced a lot of problems or difficulties. The direct translation is 'they gave him rice and dough', but it's used metaphorically to express going through a lot or having a rough time.
Examples
- Spanish: Con todo lo que le ha pasado esta semana, a Juan le dieron de arroz y de masa.
- English: With everything that has happened to him this week, Juan has really been through the wringer.