Praying at the Porcelain Altar

What does the idiom “praying at the porcelain altar” mean?

Definition: Vomiting into a toilet

Example: Oh, man, I got some bad food on the road last night. I’ve been praying at the porcelain altar all day.