Ring current effects on cosmic rays