Spatial training and high-frequency stimulation engage a common pathway to enhance glutamate release in the hippocampus.