Dynamic feedback over commutative rings