They are both correct. If you look at the fdictionary definitions they are talking about different meanings. For ragged as in teased or bullied - it is ragd.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.