1. Season the ribs all over with salt and pepper. Roll in the flour to coat, shaking off any excess.
2. Heat a little oil in a deep saucepan and brown the meat in batches. Remove and set aside.
3. Add a little more oil to the saucepan if needed and fry the onions and garlic until fragrant.