The relationship between ribosomes and the endoplasmic reticulum during protein synthesis.