You can follow the discussion on Custom Rspec Matcher for N+1 Queries in Rails without having to leave a comment. Cool, huh? Just enter your email address in the form here below and you're all set.