mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
It was a bad idea to rescue exceptions here. This can interfere with transaction rollbacks which seems to be the cause of current CI failure. Instead, each adapter should implement its own DB-specific O(1) implementation, and we fall back on the generic, slower, implementation otherwise.