Thailand like most cases has had its fair share of terrorist attacks, however, it is an anomaly and not a frequent happening. However, places with small populations and beach resorts such as Pattaya are often not on the list for terrorists so you should be fine.