does just referring to a variable in code (as opposed to console which implicitly does inspect) load the records? i think you need to do .to_a or .load to force the loading