Please sign in to comment.
Add test for read_attribute(:id) with non-standard PK.
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.
- Loading branch information...
Showing with 23 additions and 4 deletions.