ActiveRecord::IdentityMap.clear# We need to clear cache to force reload in next block
author=assert_queries(3){Author.find(author.id,:include=>{:post_about_thinking_with_last_comment=>:last_comment})}# find the author, then find the posts, then find the comments
ActiveRecord::IdentityMap.clear# We need to clear cache to force reload in next block
post=assert_queries(3){Post.find(post.id,:include=>{:author_with_address=>:author_address})}# find the post, then find the author, then find the address