Shabbat Prayers

Driving to Synagogue on Shabbat-
I enjoy attending synagogue services on Shabbat, but the rabbi told me that it's better to pray at home than to violate a prohibition of Shabbat. I couldn't really see how that’s more important than attending synagogue...More