• R
    Use _read_attribute(primary_key) instead of id · b584cc68
    Rafael Mendonça França 提交于
    This will avoid the indirection of having calling id since we already
    know which is the primary key column.
    
    Also this will make explicit the behavior since it is not clear that id
    gets the right primary key value and not just the value of the "id"
    column.
    b584cc68
persistence.rb 20.7 KB