One of the most ignorant phrases I've heard uttered from reporters/news commenters, and I've heard them utter many.
If you don't understand how prayer works; who God is; or His omnipotent power, then be quiet--be VERY quiet and watch God work. If you don't understand something, open a book--in this case, the Bible, and read about it. Nowhere in there does it say "Pray the gay away."
What it does say is that we have to DENY ourselves (meaning our fleshly desires) in order to walk with Christ.
What it does say is that if we pray to the Almighty God He will give us strength.
What it does say is that He will NEVER leave nor forsake us.
What it does say is that in this life we MUST endure Sufferings.
For some, sinful desire (of any kind) is a means of bringing them closer to God, by seeking Him constantly for strength. It's also a means for God to display His miraculous nature in their lives. It is a means of showing God we will be obedient to His Word. It is a means of building our faith and strength.