To put a spanner in de works
To thwart or ruin someone's plans.
Heard in Cork
We were all set to go on the tear and she went a put a spanner in the works and told me mam

Well, well, well. Who have we here?
Here it is in posh English.
We were all set for a grand carousal and she ruined our plans by informing Mother.
Updated