Forget the law, it doesn't matter. It is against the policy of the department to have armed civilian ride-alongs. I'm sure this holds true for every department everywhere. Think along the lines of liability, officer safety, etc.
You have the right to be armed. You don't have a right to a ride along. The policemay allow you to do a ride along, but under their rules. Want to carry, fine...not in their car.