I am the king of cramps. I've narrowed my causes down to two things. Improper hydration with electrolytes either before a ride or during a ride. The second more recent cause is riding too hard or allowing the heartrate to get too high for a longer period than reasonable. But that probably also could be similar to insufficient controlled training at higher exertion levels for shorter periods.p
__________________
Ride your Ride!!