Rabat is located North of Morroco, about two hours away from Casablanca. There is a lot of tourism in Rabat for two main reasons: sits right on the shores of the Atlantic and it is about two hours away from Spain. There is a lot of life in Rabat. Work hours are from 8-3pm and people seem to enjoy them self after work. Islam is the major religion.
People in Rabat are nice and respectful, but like any other country prudence should be a priority. There is nightlife in Rabat, young locals and visitors gather around at night along the beach, and there are several "booths" type restaurants along the beach. Arabic and French are the two languages, but you can get around with English. There is a big market around the castle. Try to avoid downtown as it gets crowded and busy.