Ginger flavor

Can you have ginger flavored drinks while pregnant.? I read an article about miscarriage due to ginger? But isnt ginger ale recommended?