Skip to content
  • Thong Kuah's avatar
    Fix an error in QueryRecorder docs · f60d73ba
    Thong Kuah authored and Jessie Young's avatar Jessie Young committed
    To compare with `issue_same_number_of_queries_as` correctly, we need to
    ensure both actual and expected both do not skip cached values
    
    The default for `ActiveRecord::QueryRecorder.new` is `skip_cached: true`.
    
    The default for `issue_same_number_of_queries_as` is `skip_cached: false`.
    f60d73ba