Lot of different opinions on this. Ive talked to a ton of people. Better to:
1) Staple pex directly to foam and put concrete over top.
2) Staple pex to foam and put a layer of sand over the top, and then concrete.
3) Attach the pex to the rebar.
My father in law swears up and down that #3 will...