How do I get dogs to stop eating grass?

We have already taken him to the vet before. There is nothing wrong with him. Food is fine, not causing him any issues. The vet basically said he's just doing it to do it. We lived in an apartment before, so he was never off leash (at least where there was grass) and we could stop him from eating grass all the time. Now we have a house and every time he's outside, he spends a lot of time just eating grass until he throws up and then he'll eat a little more. Our other dog eats grass too, but not nearly as much and rarely to the point of making her throw up. Usually she'll just take a few bites here and there when she is outside. Whereas our other dog, it's like he's trying to make a meal out of it. I wasn't sure if there was anything we can do to get him to stop. Going to the vet, even just to ask a simple question like this would cost like $100, so I'm trying to avoid that if possible.