• J
    Add test for read_attribute(:id) with non-standard PK. · e9fb6d04
    Jon Leighton 提交于
    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.
    e9fb6d04
read.rb 5.1 KB