[fix] when looking up records with a join, make sure Rails doesn't load them readonly