fix AR adapter to use lightweight queries that do not create models