Dedekind rings