mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Also make it actually work. It slows down all read_attribute accesses to map 'id' to whatever the PK actually is, inside read_attribute. So instead make sure the necessary methods are defined and that they redirect wherever they need to go.